Hi,
Can someone please help me to figure out to fill the form fields when the user clicks on edit button. The grid is bound to the datasource as follows:
<Columns>
<telerik:GridBoundColumn DataField="InvoiceDetailID">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn DataField="ItemDescription" HeaderText="Description" UniqueName="Description">
<ItemTemplate>
<asp:Label ID="lblDescription" runat="server" Text='<%# Bind("ItemDescription") %>'>' </asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox TextMode ="MultiLine" ID="txtDescription" runat="server" Height="80px" Width="200px"></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
How do I fill txtDescription with existing value when user clicks on Edit? I was assuming it will be field automatically but that's not the case.
Any help is highly appreciated.
Thanks.
Milan G