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



How does the regular expression validator work? What are two situations when you might want to use ..

Answer / saranya

it is used to validate the standard format like date and
email

Is This Answer Correct ?    3 Yes 0 No

How does the regular expression validator work? What are two situations when you might want to use ..

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

Post New Answer

More ASP.NET Interview Questions

Explain the function of new view engine in asp.net? : asp.net mvc

0 Answers  


What does occur first in ASP.Net, Authentication or Authorization?

0 Answers   MCN Solutions,


What are ASHX files?

0 Answers   HCL,


How .net CLR works with n-tier application

4 Answers   HCL, Hughes,


What are Session states available and its Uses?

2 Answers   iLogic,






What does clearing cache?

0 Answers  


Can you dynamically assign a Master Page?

0 Answers   MCN Solutions,


How many types of cookies are available in asp?

0 Answers  


What are the Types of chaching. How to implement caching

0 Answers   Microsoft,


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

0 Answers   MindCracker,


What is sequence of code in retrieving data from database?

3 Answers   Accenture,


What is xaml? Are xaml file compiled or built on runtime?

0 Answers  


Categories