Hello,
I have this templatefield in a gridview
Text='<%# Bind("Field1") %>'>
how can I add a validator to check if it's valid number?
Thank you in advance.
Know the answer? Post it. Somebody with the same question will find it here.
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 10:29 PM EDT
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 11:15 PM EDT
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 4:12 AM EDT
Nilesh JadavRank #109 · 20.3K reputationPosted Oct 6, 2015, 4:18 AM EDT
Check demo here : http://www.ajaxcontroltoolkit.com/FilteredTextBox/FilteredTextBox.aspx
Take Reference from here : http://highoncoding.com/Articles/146_Validate_Controls_Inside_GridView.aspx
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 5:07 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Oct 6, 2015, 9:40 AM EDT
Chriz LRank #9,376 · 207 reputationPosted Oct 6, 2015, 10:08 PM EDT
Chriz LRank #9,376 · 207 reputationPosted Oct 6, 2015, 11:02 PM EDT
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 11:16 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts