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
715
Enable and disable controls
posted

Dear All,

Iam using infragistics version 9, in asp.net application how to enable and disable the following controls using java script,

WebTextEdit, WebDateChooser, DropDownList, CheckBoxList, RadioButtonList.

Please suggest a answer.

Thanks in advance,

Regards,

Vasanth.

  • 3255
    Suggested Answer
    posted

    Hello Vasanth,

    Please disable the WebDateChooser using the below lines of code.

    var isDisabled = false;

    function WebDateChooser1_TextChanged(oDateChooser, newText, oEvent){
     //Add code to handle your event here.
     oDateChooser.setEnabled(isDisabled);
    }

    I will go ahead and reply the same to your case.


    Asma
    Developer Support Engineer
    Infragistics
    www.infragistics.com/support

  • 3255
    Suggested Answer
    posted

    Hello Vasanth,

    I can you help you with Infragistics contols WebTextEdit and WebDateChooser.

    You can enable or disable WebTextEdit by using below lines of code.

     

     

     

     

    var isEnabled = true;
    var isDisabled = false;
    function WebTextEdit1_TextChanged(oEdit, newText, oEvent){
     //Add code to handle your event here.
     oEdit.setEnabled(isDisabled);
    }

    The WebDateChooser is not behaving as I am expecting, so I have to investigate it further.  So I will go ahead and create a case for you and send an Initial Update on the case.


    Sincerely,
    Asma
    Developer Support Engineer
    Infragistics
    www.infragistics.com/support