Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
9
Reply
How to add Validator on Gridview TemplateField
Chriz L
Oct 6 2015 7:18 AM
386
Reply
Hello,
I have this templatefield in a gridview
<asp:TemplateField HeaderText="HeaderText">
<EditItemTemplate>
<asp:TextBox ID="textbox1" runat="server"
Text='<%# Bind("Field1") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("Field1") %>'></asp:Label>
</ItemTemplate>
<ItemStyle Width="100px" />
</asp:TemplateField>
how can I add a validator to check if it's valid number?
Thank you in advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
9
)
Next Recommended Forum
How can we deploy finger print reader to C# web application?
ASP.net in VC# version Microsoft Visual Studio 2012