I don't want the clear functionality (the X button) in text boxes rendered in IE10 and above. For this, I'm setting the display of the pseudo element -ms-clear
to none
. However, it still shows up when IE is running in Compatibility mode. Since this is an Intranet site, it will always run in Compatibility mode. And there's no workaround for this: http://connect.microsoft.com/IE/feedback/details/783743/disable-ie10-clear-field-button-when-rendering-in-compatibility-mode
Using <add name="X-UA-Compatible" value="IE=edge" />
in web.config to force IE to run in standard mode is not recommended as per msdn, as far as production scenarios are concerned. Is there any other way of getting round this?
<meta http-equiv="X-UA-Compatible" content="IE=edge">
and it worked well. That is definitely a better solution than working in compatibility mode. – Navigation