How does the regular expression validator work? What are two
situations when you might want to use one?
Answer Posted / pallavi
E-mail: <asp:textbox id="textbox1" runat="server"/>
<asp:RegularExpressionValidator id="valRegEx" runat="server"
ControlToValidate="textbox1"
ValidationExpression=".*@.*"
ErrorMessage="* Your entry is not a valid e-mail address."
display="dynamic">*
</asp:RegularExpressionValidator>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you register a custom server control to a web page?
Where are session variables stored?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
In which event of the page life cycle, is the viewstate available?
How to set the pane area to transparent of a scrollPane component.?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
What is a web based system?
What are the uses of reflection?
How can we prepairing Interview
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
How can I open ashx file in mobile?
What is the difference between CLICK and MOUSE DOWN Event ?