Is there any web slider VALUE CHANGED event like with the TextBox that has a TEXT CHANGED event?
Hello:
I have a similar issue with a client. I am using vs2008 and your ASP.NET webslider control. I copied code from one valuechanged event to another valuechanged event in a different program and I admit it did not work. The code is not being executed at all. It appears to me the postback you referenced above is not taking place.
Must we have the vs2008 wizard create the valuechanged event for the developer?? Or should the developer be able to copy/paste code from one program to another??
You mention postback. How does one code in javascript a postback ??
Please help me - I need need some help.
Cheers!
--Bobbi
Thank you for your reply. However, I am still "stuck."
The previous developer used the web slider extender from the CodePlex Ajax Toolkit. It had five sliders and movement in any one handle triggers a SQL script on the server (there is a 3-5 second pause).
When I replaced the five web slider extenders with Infragistics'webslider controls, I am now not getting the SQL script triggered on the server. I put a "message" in the _ValueChanged event and the "message" does not appear, implying the code in the _ValueChanged event is not being executed.
I have it set for "Server side only." I tried "ASYNC" but saw no difference - which I found peculiar.
I have missed something. How might you recommend I proceed in troubleshooting?
Hello Wayne,
I have checked that the ValueChanged event fires once the mouse button has been pressed and released. You can always test all the client events of the webslider to see any of them that will fit your needs. When handling mouse events it is good to handle on the client side only since post backs can cause performance to your application.
When setting ValueChanged to ON will mean that code is handling as a full page postback which is slower in performance. Setting ValueChanged to Async will handle the server side events and will process the code on the server without having the browser to wait for the server side to process.
So the following scenarios would follow:
- For handling javascript code only set ValueChanged to OFF.- For both javascript and server side coding use ASYNC.- For server side only coding use ON.
Let me know if you have any questions with this matter.
Sincerely,Duane HoytDeveloper Support Engineer, MCTSInfragisticshttp://es.infragistics.com/support
Duane:
I am still having issues with the webslider ValueChanged event. I have five sliders and moving the thumb does not seem to me to trigger the ValueChanged event. I have ithe webslider control's ValueChanged property set to ON. And I have code for the webslider's ValueChanged event.
A few questions:
(1) What is the difference between ON and ASYNC?
(2) Is there a javascript code that I need to add for AutoPostBack on a mouse-button-up (or similar) event?
Please reply.
Thank you.
Great, thanks for the notice. Do you have any further questions on this. If not the case will be closed, you always have the option to reopen later.
Thank you for contacting Developer Support.