Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<asp:button id="btnGenerate" runat="server" Width="56px" Text="Search" CssClass="padded-button" Enabled="False">
XML
<asp:panel id="ClientStatusPanel" runat="server" EnableViewState="False" Visible="True" HorizontalAlign="Center">
                    <asp:Label id="lblClientStatus" runat="server" ForeColor="Red" Font-Bold="True" Font-Size="12"></asp:Label>
                </asp:panel>


Search is a Text for a ASp.NET button and the button is enabled(Functionality correct) in all of the IE versions IE5-IE11 but in IE-10 the button is disabled(IE-10 also should be enabled).


I think with respect to code there is no error and seems to be compatability issue

Could anyone please throw some light on it.

NOTE : I have tried with <meta http-equiv="X-UA-Compatible" content="IE=edge"/> in head element tag but didn't solve my problem
Posted
Comments
Kornfeld Eliyahu Peter 19-Oct-15 7:24am    
Your code confusing...There is a Enabled="False" part, that should disable the button in each and every browser...
Tharakharish 20-Oct-15 2:08am    
oh sorry for that, initially the button will be disabled after a value entered in textbox(value = ID) the search button will be enabled and the value will be verified with database and return the name value, the database verification is been made through web service(asmx), I have debugged and found the value from database is coming correct but the request is made to asmx page through the MicrosoftAjax.js while loading it throws a error message at a.setProperty("SelectionLanguage","XPath") in MicrosoftAjax.js as "Object doesn't support property or method 'setProperty'". This error is coming in only IE 10 version.
Kornfeld Eliyahu Peter 20-Oct-15 2:30am    
So, what you say is that the code that should enable the button doesn't work on IE10...First thing first - debug it!
Tharakharish 20-Oct-15 3:49am    
yes, I have debugged the code it throws the error at a.setProperty("SelectionLanguage","XPath") in MicrosoftAjax.js file in IE10.If I select "ignore" in pop-up box that comes in javascript, then it works fine.
ZurdoDev 19-Oct-15 7:52am    
As Peter said, your code is disabling the button. That is to be expected.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900