How does the regular expression validator work? What are two
situations when you might want to use one?
Answers were Sorted based on User's Feedback
Answer / saranya
it is used to validate the standard format like date and
email
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
What are the options in ASP.NET to maintain state?
About Global .asax ?
What is the difference between mechine.config and web.config?
What is CTS, CLS and CLR ?
20 Answers CGI, Palm Technology, Reliable Technology, Satyam, Synergy, TCS,
What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?
What does this do? sn -t foo.dll
What is DataGrid wheater its a Server Control or something else ?
Why is catch(Exception) almost always a bad idea?
What is the syntax for datagrid and specifying columns?
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
when u enter the data in one text box once u completed entering the text box data then one page has to be popuped and the text has to be displayed in the parent page
How is the asp.net mvc architecture different from others? : asp.net mvc