TemplateField control access
I want to setup a details view that has a text field to hold dates. I want to use a pop-up calendar to populate the text field. I have the pop-up calendar working in a form but I am not sure how to access the text field since it is inside a templatefield.
Here is the code for how I use the pop-up calendar in a normal form:
<td style="width: 250px">
<strong>From:</strong>
<asp:TextBox ID="TextBox9" runat="server"></asp:TextBox><a href="javascript:;" onclick="window.open('popup.aspx?textbox=TextBox9' ,'cal','width=250,height=225,left=270,top=180')">< img src="../cal.gif" border="0"></a>
</td>
I am nut sure what to use for the ID to reference with a field with in a template field.
Thanks for any suggestions.
|