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
185
Webslider readonly/disable using jQuery
posted

Please suggest how i can disable or  make webslider control of v11.2 readonly using jQuery

thanks

Manish Kumar

Parents
No Data
Reply
  • 8421
    Suggested Answer
    posted

    Hello Manish,

    You can do this through the WebSlider's set_enabled function:

    var slider = $find('<%= mySlider.ClientID %>');

    slider.set_enabled(false);

    Please note here that this needs to be done with standard JavaScript rather than jQuery. To get the control and be able to use the underlying clientside object model for the control you need to use $find which returns the AJAX component related to the element on the page. If you were to use a jQuery selector you would only be able to select the DOM element for the control.

    Please let me know if you have any further questions or concerns about this matter.

Children