I have an aspx page named "register.aspx" with a user control "login" on the top of the page.This is a registration page with a lot of TextBoxes etc.. I attached validators for each of this boxes. The problem is, that when i want to use login control , data
from registration part of that form are validated and i get a lot of validation-errors. How could i use login control without validation of the registration textboxes???? Bart
If you have to put these two parts (login and register) in one page, you may put them in two Panel controls and disable one (like register panel) that you don't want to do validation.
This posting is provided "AS IS" with no warranties, and confers no rights.
But the code behind file for login user control is different from code behind file for the hole page register.aspx , so i have not access to the control for example register_panel in register.aspx from the code within login.ascx.cs and i can not disable it.
Furthermore i think i should disable java script validating in register.aspx when i click a login button of my user control - login and i think it's impossible from the level of codebehind file.
tatrolaz2
Member
20 Points
4 Posts
Disabling Validation
Aug 03, 2003 08:44 PM|LINK
JimmyM
Star
8796 Points
1671 Posts
Re: Disabling Validation
Aug 03, 2003 10:15 PM|LINK
tatrolaz2
Member
20 Points
4 Posts
Re: Disabling Validation
Aug 03, 2003 10:53 PM|LINK
JimmyM
Star
8796 Points
1671 Posts
Re: Disabling Validation
Aug 03, 2003 11:03 PM|LINK
tatrolaz2
Member
20 Points
4 Posts
Re: Disabling Validation
Aug 04, 2003 05:23 AM|LINK
my user control-login :
JimmyM
Star
8796 Points
1671 Posts
Re: Disabling Validation
Aug 04, 2003 05:39 AM|LINK
tatrolaz2
Member
20 Points
4 Posts
Re: Disabling Validation
Aug 04, 2003 07:47 PM|LINK