I have added a dropdownlist to gridview column, i set the dropdownlist property Enable=false, it adds automatically aspNetDisabled to class attribute of select box, my CSS for disabled list does not have any effect on it. How can i avoid aspNetDisabled?
I have added a dropdownlist to gridview column, i set the dropdownlist property Enable=false
Share
So far, the only way I’ve found to override this behaviour is via the DisabledCssClass attribute on the WebControl:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webcontrol.disabledcssclass.aspx