Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Validation Controls

Reply
Thread Tools

Validation Controls

 
 
Darshini
Guest
Posts: n/a
 
      12-02-2003
I have created a login page and use the RegularExpression Validation control, RequiredFieldValidator control for the

username and password respectively and i have set their properties. In the same page i have a hyperlink for the new user.

so if i click the new user link, error message is displayed near the username, password textboxes because of validation

controls. what should i do now? Any suggestions?
 
Reply With Quote
 
 
 
 
Sink
Guest
Posts: n/a
 
      12-02-2003
Normally, hyperlinks do not cause page validation to
be run, so your validation controls should
not be evaluated.
I suspect that you might be doing this yourself, possibly
by calling the Page.Validate() method perhaps in your
Page_Load method ?
Soem code would help diagnose.
Regards

>-----Original Message-----
>I have created a login page and use the RegularExpression

Validation control, RequiredFieldValidator control for the
>
>username and password respectively and i have set their

properties. In the same page i have a hyperlink for the
new user.
>
>so if i click the new user link, error message is

displayed near the username, password textboxes because of
validation
>
>controls. what should i do now? Any suggestions?
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controls.Count, Controls.IsSynchronized, and Controls.SyncRoot Nathan Sokalski ASP .Net 4 09-05-2007 03:27 AM
where is the validation occurs for validation controls baroque Chou ASP .Net 4 01-24-2006 03:32 PM
Page appears to fail validation even though it has no validation controls =?Utf-8?B?ZGh1cndpdHo=?= ASP .Net 1 04-10-2004 07:37 AM
ASP.NET Web Forms Validation Controls are Server-Side or Client-Side Validation? Matt ASP .Net 14 01-30-2004 09:15 AM
Re: only custom validation control does server side validation? Colin Mackay ASP .Net 0 06-25-2003 07:54 AM



Advertisments