Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can you explain one critical mapping? Performance issue which one is better?

899


What is aspect-oriented programming?

1122


What is x xss protection?

982


How many web config files can be created for an application?

865


What is server side session?

1011


What is a pixel url?

942


What is cross page posting? How is it done?

966


What is the best Macanism to clear the Cache in asp.net

1231


What is ashx file in asp.net?

1064


Can you change a master page dynamically at runtime? How?

933


What are the differnt types of handler in ASP.NET?

980


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

2017


What is authentication in asp.net?

1064


What is difference between session and cookie?

1007


How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.

1161