473,324 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

ValidationGroup

33
I have 2 divisions in a .aspx file





Left division for sing up and

Right division for login



In log in division I have placed a user control l (i.e. a Login.ascx control)

I have two image buttons

one in Left division and

one in the .ascx file.





But when I fill sign up details and press its button

I have used validation controls and validation summary.

I have made separation between the 2 sections to validate

By using

ValidationGroup="SignUp"



Or

ValidationGroup="Login1"

On its correct place



But when I press image button to sign up(BtnSignUp)

It automatically validate log in in put boxes(BtnLogIn)





What can I do solve this?
Apr 29 '08 #1
1 1635
shweta123
692 Expert 512MB
Hi,

Please check the following things if you are using validationGroup property for doing validation :

1) Set validationgroup property equal to "Login1" for all the validation controls that is going to be used for controls in a Login group.

2) Set validationgroup property equal to "SignUp" for all validation controls that is going to be used for the controls in a Signup group.

3) For BtnSignUp button set causesvalidation="true" and validationgroup="SignUp".

4) For BtnLogIn button set causesvalidation="true" and validationgroup="Login1".






I have 2 divisions in a .aspx file





Left division for sing up and

Right division for login



In log in division I have placed a user control l (i.e. a Login.ascx control)

I have two image buttons

one in Left division and

one in the .ascx file.





But when I fill sign up details and press its button

I have used validation controls and validation summary.

I have made separation between the 2 sections to validate

By using

ValidationGroup="SignUp"



Or

ValidationGroup="Login1"

On its correct place



But when I press image button to sign up(BtnSignUp)

It automatically validate log in in put boxes(BtnLogIn)





What can I do solve this?
Apr 29 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: VB Programmer | last post by:
I have several required field validators on each step of my CreateUserWizard. When I click Next it goes to the next step, even though the user hasn't typed anything in. I placed each "page"...
1
by: Buddy Ackerman | last post by:
I don't know what the problem is. I have a form with several controls that need to be validated, I put a validation group in every form control, every validatoino control, the submit button and...
2
by: news.microsoft.com | last post by:
ASP.NET 2.0 Is it possible to set more than one ValidationGroup to a Button? I have two sets of controls on a Web page, into two different ValidationGroups. I would like when the user clicks...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello misters, I have an application web in asp.net 2.0. I use ASP.NET AJAX and AjaxControlToolkit. I have several tabs in an aspx page, and I try validate controls. I include ValidationGroup...
1
by: fredd00 | last post by:
Hi I'm wondering in which class or interface the validationgroup property originates. i have created a web user control that uses the validation group property on textboxes, dropdownlist,...
0
by: pompeymike | last post by:
Hi, I have a form with panels, within which is a Formview. In the InsertItemTemplate for the FormView I have validation using RequireFieldValidators. These all work correctly, but if I use a...
0
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I have an aspx page w/2 update panel controls UpdatePanel1 & UpdatePanel2. UpdatePanel1 uses validationgroup="a" for all of it's validation controls & button controls. UpdatePanel2 uses...
0
by: sijugeo | last post by:
I have 3 validationgroups and 1 ValidationSummary. Is it possible to include all these error messages in to one validationsummary? Siju
0
by: suganya | last post by:
Hi I have written the code for Atlas ModalPopup Control . The code is as follows <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.