.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

RegularExpression Validator Control in asp.net

Posted By: Shweta     Posted Date: June 05, 2010    Points:2   Category :ASP.Net
Hi
I was trying the RegularExpressionValidator control. But I am pretty
confused about how to use the validate method from codebehind.
Somehow, the isvalid property is always coming true independent of the regular expression and the input.

Can anyone tell me,the validation process that i need to follow?

Shweta

Responses
Author: Kirtan             
Posted Date: June 05, 2010     Points: 5   

Follow this tutorial

http://asp.net-tutorials.com/validation/regular-expression-validator/

Author: TotalDotNet             
Posted Date: August 16, 2010     Points: 5   

Hi,

Try putting things in
if (!IsPostBack)
{

}

or

put code here so that we may help you.

Try using
http://www.totaldotnet.com/ValidationControls/Asp_RequiredFieldValidator.aspx.

you may get some hint.


Regards
TotalDotNet



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend