I have a RadGrid with an Edit Form FormTemplate. I use it in PopUp mode when editing. In the popup I want to set the value of several label controls on the form, but I can't get a reference to those label controls. Is there a simple way to get a reference to those controls in the edit form template?
example:
So I want the method "tvId_TextChanged" to trigger a db lookup that returns data and inserts it into the lblName control.
Thanks for the help!
example:
<telerik:RadGrid...> |
<EditFormSettings ColumnNumber="3" CaptionFormatString="Edit Person ({0}) Details" |
CaptionDataField="id" EditFormType="Template"> |
<EditColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1"> |
</EditColumn> |
<FormTemplate> |
<table style="width:100%;"> |
<tr> |
<td class="style1"> |
id</td> |
<td> |
<telerik:RadTextBox ID="tbId" Runat="server" EmptyMessage="id" |
Width="125px" OnTextChanged="tbId_TextChanged" AutoPostBack="true"> |
</telerik:RadTextBox> |
</td> |
</tr> |
<tr> |
<td class="style1"> |
name</td> |
<td> |
<asp:Label runat="server" ID="lblName"></asp:Label> |
</td> |
</tr> |
</table> |
</FormTemplate> |
<PopUpSettings Modal="True" ScrollBars="Auto" /> |
</EditFormSettings> |
</telerik:RadGrid> |
Thanks for the help!