Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: ChangedText event firing when setting Text in behind code [28014]

$
0
0
Is there a way to set the sliders value without the TextChanged event firing?

I only need this to fire when a user actually moves the slider, and not when the value is changed by the behind code.
Comments:   The SliderExtender does not have any events. The TextChanged is the event of the Textbox that the SliderExtender is attached to. So, when you change the text of the textbox, you always fire this event even if there is no SliderExtender attached.   I would suggest the following solution: 1. Remove the AsyncPostBackTrigger from the UpdatePanel. This will not fire the TextChanged when the Slider changes the value of the textbox, so you need to make postbacks manually. 2. Attach a JavaScript event handler to the 'slideEnd' event. Call the AsyncPostBack every time a user releases a slider handler. You can read more details about it on the stackoverflow site: http://stackoverflow.com/a/7855520/644496

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>