Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1000
WebNumericEdit Enabled set to false produce JS error when clicked.
posted

Hi, I have the following WebNumericEdit, which has been placed in a WebDialogWindow.

<igtxt:WebNumericEdit ID="WebNumericEditIncrementar" Nullable="false" NullText="0" runat="server" Width="50px" CssClass="ctrlStyles" MinDecimalPlaces="Two" Enabled="false"></igtxt:WebNumericEdit>

The WebNumericEdit is disabled (Enabled="false"). When I click on the WebNumericEdit it produces the following error.

This error is in IE7

Line: 5950
Character: 20
Error: Sys.ArgumentException: Value must be a DOM element.
Parameter name: element
Code: 0

This error is in IE8 beta 2

Line: 5948
Error: Sys.ArgumentException: Value must be a DOM element.
Parameter name: element

 

  • 24497
    posted

    Hi,

    Unfortunately I could not reproduce that. I tested following

    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManager1" />
    <ig:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="150px" Width="300px">
     
    <ContentPane>
      
    <Template>
        
    <igtxt:WebNumericEdit ID="WebNumericEditIncrementar" Nullable="false" NullText="0" runat="server" Width="50px" CssClass="ctrlStyles" MinDecimalPlaces="Two" Enabled="false">
        
    </igtxt:WebNumericEdit>
      
    </Template>
     
    </ContentPane>
    </ig:WebDialogWindow>
    </form>