Here i need to validate the txtnickname value on edit mode in gridview in clientside itself...
Can anyone help on this soon
Thanks in advance
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Krishna GaradRank #191 · 12.8K reputationPosted Mar 5, 2012, 11:06 PM EST
Gohil JayendrasinhRank #490 · 5K reputationPosted Mar 5, 2012, 11:42 PM EST
asp:TemplateField HeaderText="Nickname" ItemStyle-CssClass="row_1" ItemStyle-Width ="150" ItemStyle-Height="37px" >EditItemTemplate> asp:TextBox ID="txtnickname" runat="server" Text='#Eval("name") %>' >asp:TextBox> asp:RequiredFieldValidator ID="rfnickname" runat="server" ControlToValidate="txtnickname" ValidationGroup="edit">asp:RequiredFieldValidator> EditItemTemplate> ItemTemplate> asp:Label ID="lblitemnickname" runat="server" Text='#Eval("name") %>' /> ItemTemplate> asp:TemplateField>SairamRank #5,130 · 310 reputationPosted Mar 6, 2012, 12:10 AM EST
Gohil JayendrasinhRank #490 · 5K reputationPosted Mar 7, 2012, 2:55 AM EST