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.
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.