Hi,
I have datagrid control which contains textboxs in ItemTemplate. I need to set attribute to the textbox for the purpose of accessing the client side java script function.
Here is my code snip.
<asp:TemplateColumn HeaderText="Fld Date">
<ItemTemplate>
<%# (DataBinder.Eval(Container.DataItem,"DATE","{0:d}").ToString()) %>
</ItemTemplate>
<ItemStyle VerticalAlign="Top" />
<EditItemTemplate>
<asp:TextBox id="txtDate" runat="server" /><asp:TextBox id="txtDate" runat="server" />
</EditItemTemplate>
<FooterStyle VerticalAlign="Top" />
</asp:TemplateColumn>
Here i need to set the attribue when edit the datagrid item.
Please help me.
Thanks in advance.
Satees