Archive
How to remove x from Internet Explorer ?

How to remove X from IE input box, Here is the css we can write to remove x.
/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
Or

/* clears the ‘X’ from Chrome */
input[type=”search”]::-webkit-search-decoration,
input[type=”search”]::-webkit-search-cancel-button,
input[type=”search”]::-webkit-search-results-button,
input[type=”search”]::-webkit-search-results-decoration { display: none; }
Thanks
Load XML from URL giving an error (The remote server returned an error: (401) Unauthorized.)
If you are getting a 401 Unauthorized error while reading an XML from URL, here is the solution you can try
Hope this help!
Error :(System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl) in VS2017
Reason for the above error is I have my project in .NET framework 3.5 and I update it to .NET framework 4.5,
Solution for the above error is:
We need to change the *.designer.cs file reference from:
System.Web.UI.HtmlControls.HtmlIframe
to
System.Web.UI.HtmlControls.HtmlGenericControl
MySQL : The user specified as a definer (‘root’@’%’) does not exist
This error occurs when exporting views/triggers/procedures from one database or server to another as the user that created that object no longer exists.
So here are the solutions:
- Change DEFINERCreate the missing user
- Create the missing user
or simply run following query
grant all on *.* to ‘root’@’%’ identified by ‘password’ with grant option;
Hope it helps.
MySQL : The host localhost does not support SSL connections
When I moved database MySql.Data 7.0.7 to 8.0.8. I got following error
The host localhost does not support SSL connections.
So, here is the solution for this error ,Just add SslMode=none in connection string
server=localhost;user id=roor;password=xyz;persistsecurityinfo=True;port=123;database=TestDB; SslMode=none
Hope it helps !
How to fix function is ambiguous in the namespace ‘system’ compiler error
When you are upgrading your project framework its possible that old version of DLL reference still exists , to remove that follow the below steps
-Open Object Explorer in Visual Studio
-Find that function
-Find the function/dll which has old reference and delete it
Hope it helps!
Comments