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
240
Firefox 4 (FF4) WebNumericEdit (v 10.3) Not Graying Out Disabled Controls
posted

It works in Internet Explorer 9

When a WebNumericEdit  is disabled 'ctrl.setEnabled(false)' the control appears to be editable.

The control needs to be grayed out.

Is this a known issue with FF4?

Is there a work around?

Infragistics2.WebUI.WebDataInput.v10.3

Runtime Version: v2.0.50727

Version: 10.3.20103.2120

 

Parents
No Data
Reply
  • 19693
    posted

    Hello smausa,

     

    I tried to reproduce the issue in Initialize client side event  handler and btn_click.

     

    In the both cases the contol was disabled and grayed out.

     

    I used 10.3.20103.2120 and the latest service release 10.3.20103.2134 with the same result.

        <script type="text/javascript" id="igClientScript">

            function WebNumericEdit1_Initialize(oEdit, text) {

                //Add code to handle your event here.

               // oEdit.setEnabled(false);

            }

     

            function on_btnclick() {

                var ctrl = igedit_getById("WebNumericEdit1");

                ctrl.setEnabled(false);

            }

        </script>

     

    <igtxt:WebNumericEdit ID="WebNumericEdit1" runat="server">

                <ClientSideEvents Initialize="WebNumericEdit1_Initialize" />

            </igtxt:WebNumericEdit>

            <input type="button" value="clickme" onclick=" return on_btnclick();" />

     

    Can you please provide us with an isolated sample reproducing the issue?

     

    Hope hearing from you.

Children