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

Commented Issue: MultiHandleSlider doesn't work with Master Pages [20070]

$
0
0
I have a simple multi-handle slider that works fine on a web form page. If I try and use the same on a bare-bones Master Page, it only displays one handle, which isn't draggable, and the whole rail has the default blue background colour. Has anyone else experienced this issue?
Comments: If still you have the issue, go through below code changes Earlier ---------------------------- <MultiHandleSliderTargets> <asp:MultiHandleSliderTarget ControlID="strMinModTB" HandleCssClass="handle_horizontal_left" /> <asp:MultiHandleSliderTarget ControlID="strMaxModTB" HandleCssClass="handle_horizontal_right" /> </MultiHandleSliderTargets> Modified -------------------------------- <MultiHandleSliderTargets> <asp:MultiHandleSliderTarget ControlID= "ctl00_MainPage_strMinModTB" HandleCssClass="handle_horizontal_left" /> <asp:MultiHandleSliderTarget ControlID= "ctl00_MainPage_strMaxModTB" HandleCssClass="handle_horizontal_right" /> </MultiHandleSliderTargets> If you see the code, you can find that i have changed the name of the control ID from "strMinModTB" to "ctl00_MainPage_strMinModTB". The reason is, once we use the master page, the ID of the control gets changed but "MultiHandleSliderExtender" control does not recognize the newly created control ID. Happy coding.

Viewing all articles
Browse latest Browse all 4356


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