Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to disable/enable the SliderControl?

disable enable
0
Posted

How to disable/enable the SliderControl?

0

To disable the SliderControl, we can call the following function to remove all the handlers on its handle. For more information about $clearHandler, please refer to this document: (http://www.asp.net/AJAX/Documentation/Live/ClientReference/Global/ClearHandlersShortcutMethod.aspx). function disableSlider() { $clearHandlers($find(‘Slider1’)._handle); $clearHandlers($find(‘Slider1’)._railElement); } To enable the SliderControl, we can use the following function to add all the handlers. For more information about $addHandler, please refer to this document: (http://www.asp.net/AJAX/Documentation/Live/ClientReference/Global/AddHandlersShortcutMethod.aspx). function enableSlider() { $addHandlers($find(‘Slider1’)._handle, { ‘mousedown’: $find(‘Slider1’)._onMouseDown, ‘dragstart’: $find(‘Slider1’)._IEDragDropHandler, ‘drag’: $find(‘Slider1’)._IEDragDropHandler, ‘dragend’: $find(‘Slider1’)._IEDragDropHandler },$find(‘Slider1’)); $addHandlers($find(‘Slider1’)._railElement, { ‘click’: $find(‘Slide

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123