Posted on: 3/4/2015 7:50:16 PM | Views : 601

Hello,
I have a grid that has one non-databound column. When clicking the edit link on a row in the gridview, I would like to have a textbox appear in this column. Currently the 'txtAmount' textbox will not even display and the cell instead just gets filled with data like normal. If there is a way to get a non-databound control to display when editing a row any help would be appreciated. The code on the page looks like this:
<asp:TemplateField meta:resourcekey="TemplateFieldResource8"> <ItemStyle CssClass="clsNumber" HorizontalAlign="Left" VerticalAlign="Top" /> <EditItemTemplate> <asp:TextBox ID="txtAmount" runat="server"> </asp:TextBox> </EditItemTemplate> <ItemTemplate> <asp:Label ID="lblprevMonth" runat="server" CssClass="clsNormalLabel"></a ...

Go to the complete details ...