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
What is difference between ispostback and autopostback in asp net?
Explain managed code an un-managed code.
What can you do with asp.net?
what are configuration files?
What are the two properties that are common on every validation control?
What is asp net_sessionid?
What is difference between session and cookies in asp net?
What are the Types of authentications in IIS
What does mvc represent in asp.net? : asp.net mvc
Can I stream live content/events?
What r the asp.net list controls and difference between them?
Who creates jsessionid?
What are uri parameters?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)