I have a user control with a RadListView, which contains a RadSlider and RadToolTip control like this:
How do I find the ToolTip and Slider control in my JS? Note that I can't simple put the JS in the LayoutTemplate since this is a user control that lives on a page and for some reason the JS wouldn't get executed if I put in directly in the LayoutTemplate.
I was able to get the RadListView control by doing $find("<%=myUserControlThatHoldsTheListView.FindControl("myListView").ClientID %>") but how do I get the controls inside?
Thanks.
<telerik:RadListView ID="myListView" runat="server" > <LayoutTemplate> <asp:Panel ID="RadListViewLayoutPanel" runat="server"> <div class="container"> <asp:PlaceHolder ID="ItemPlaceHolder" runat="server"></asp:PlaceHolder> </div> <div class="slider"> <telerik:RadSlider ID="mySlider" runat="server" > </telerik:RadSlider> <telerik:RadToolTip ID="myToolTip" runat="server" Position="TopLeft" > </telerik:RadToolTip> </div> </asp:Panel> </LayoutTemplate> ... ...How do I find the ToolTip and Slider control in my JS? Note that I can't simple put the JS in the LayoutTemplate since this is a user control that lives on a page and for some reason the JS wouldn't get executed if I put in directly in the LayoutTemplate.
I was able to get the RadListView control by doing $find("<%=myUserControlThatHoldsTheListView.FindControl("myListView").ClientID %>") but how do I get the controls inside?
Thanks.