i have a register form & in that form i have a 2 textboxes
for entering name&age.my doubt is that how can i provide
error message like "invalid entry" when user enter a
invalid name/age(eg:user enter name as #%%%##daff,and age
as 1000.)in that textboxes.I want code.
Answer Posted / satheshkumar
name textbox should follow the reqularexpersion valitator and age textbox should follow the range validator
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a web farm?
What are the events in a page life cycle?
In ViewState How much lifespan items stored?
What are the different types of sessions in asp.net? Name them?
What is the concept of view state in asp.net?
What are the Types of session management in ASP.NET
How does session id work?
How long the items in ViewState exists?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
What are the merits and demerits of viewstate?
Which method is used to force all the validation controls to run?
How to do state management in ASP.NET?
What is skin in asp.net?
Which protocol is used in a web api?
What is considered a service provider?