i have 3 text box which must be in numeric, but i just want shown only one error message once either one of the text box was incorrect formating.
how can i archieve that?
gahhon
13
Junior Poster
Recommended Answers
Jump to PostI would use a ValidationSummary control to display the error message in one place. Then you configure the individual validation controls to suppress their error messages.
Jump to PostI have these two MS bookmarks that I refer to when dealing with asp.net validation. Lots if examples and e plantation on how to set the appropriate properties and values.
…
Jump to PostI have a suggestion here...
Instead of doing like this, why cant to add a javascript that allows only numbers to be added in the control?
Because it saves the validation time and provides more simplicity...
Jump to PostThe asp.net validation controls produce the javascript for client side validation. In addition, if you use the validation controls, the input will be checked server side as well, just in case the browser did not support javascript or is javascript was disabled/bypassed.
So if you do this with just regular …
All 15 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
gahhon
13
Junior Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
ss125
18
Posting Whiz in Training
gahhon
13
Junior Poster
geniusvishal
-1
~Coder~
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
gahhon
13
Junior Poster
geniusvishal
-1
~Coder~
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
gahhon
13
Junior Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
gahhon
13
Junior Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
gahhon
13
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.