Hi, how do I get a handle to the RadDatePicker, within the context of a div.
my code snippet looks like this:
<div id="div123">
<telerik:RadDatePicker ID="txtSomeDate" runat="server" CausesValidation="True">
</telerik:RadDatePicker>
</div>
The command :
var somedate = $find("<%=txtSomeDate.ClientID %>");
returns me the datepicker.
However, I have a requirement where I need to get a handle to this datepicker which is within the div "div123" only.
This is because I have this datepicker within a user control and this user control could be embedded multiple times in the same page.
I tried $find("<%=txtSomeDate.ClientID %>",div123) but it returns null.
Any clues on how to get this working?
Thanks
Suchitra
my code snippet looks like this:
<div id="div123">
<telerik:RadDatePicker ID="txtSomeDate" runat="server" CausesValidation="True">
</telerik:RadDatePicker>
</div>
The command :
var somedate = $find("<%=txtSomeDate.ClientID %>");
returns me the datepicker.
However, I have a requirement where I need to get a handle to this datepicker which is within the div "div123" only.
This is because I have this datepicker within a user control and this user control could be embedded multiple times in the same page.
I tried $find("<%=txtSomeDate.ClientID %>",div123) but it returns null.
Any clues on how to get this working?
Thanks
Suchitra