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

What is difference between ispostback and autopostback in asp net?

1041


Explain managed code an un-managed code.

1029


What can you do with asp.net?

928


what are configuration files?

1042


What are the two properties that are common on every validation control?

1033


What is asp net_sessionid?

1100


What is difference between session and cookies in asp net?

1063


What are the Types of authentications in IIS

1065


What does mvc represent in asp.net? : asp.net mvc

1194


Can I stream live content/events?

1073


What r the asp.net list controls and difference between them?

1036


Who creates jsessionid?

1033


What are uri parameters?

1039


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

979


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)

1994