What event/sub for the grid (ItemDataBound, ItemCommand, etc) should the logic be placed to adjust the display and what is the syntax for referencing a control in the form template?
We've looked at the "Form template edit form" example for the radgrid for asp.net AJAX, but we can't find the right syntax to reach the template controls.
The following is a section of the aspx code:
<EditFormSettings EditFormType="Template">
<FormTemplate>
<table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="0">
<tr class="EditFormHeader">
<td colspan="2" style="font-size: small"><b>Account Details</b></td>
</tr>
<tr>
<td valign="top">
<table id="Table3" width="350" border="0" class="module">
<tr>
<td>Code:</td>
<td>
<asp:TextBox ID="txtClientAccount" runat="server" Text='<%# Bind( "ClientAccount" ) %>'></asp:TextBox>
</td>
</tr>
<tr>
<td>Description:</td>
<td>
<asp:TextBox ID="txtAcctDescription" runat="server" Text='<%# Bind( "Description" ) %>' Width="300px"></asp:TextBox>
</td>
</tr>
</table>
</td>
<td valign="top">
<table id="Table1" width="350" border="0" class="module">
<tr>
<td>
<table id="Table4" width="350" border="0" class="module">
<tr>
<td>Status:</td>
<td><asp:DropDownList ID="ddlStatus" runat="server" SelectedValue='<%# Bind("AccountStatus") %>' AppendDataBoundItems="True">
<asp:ListItem Text="" Value=""></asp:ListItem>
<asp:ListItem Text="Active" Value="Active"></asp:ListItem>
<asp:ListItem Text="Inactive" Value="Inactive"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button>
</td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>