Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Seperate validation for seperate user controls on same page

Reply
Thread Tools

Seperate validation for seperate user controls on same page

 
 
moondaddy
Guest
Posts: n/a
 
      10-14-2006
asp.net 2.0
I have a page with a tab control on it. Each tab has a different user
control on it. each user control is used for different data entry (like
separate data entry forms) and has its own validation controls and
validation summary control.

When I'm on the first tab, it uses all the validation control on the other
tab as well. How can I keep all the logic for the validation separate for
each UC as if they were their own pages?

Thanks.

--
ail


 
Reply With Quote
 
 
 
 
Gaurav Vaish \(www.EdujiniOnline.com\)
Guest
Posts: n/a
 
      10-14-2006
> When I'm on the first tab, it uses all the validation control on the other
> tab as well. How can I keep all the logic for the validation separate for
> each UC as if they were their own pages?


Difficult to do... not sure but you may want to look into "ValidationGroup".


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------


 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      10-16-2006
Hi moondaddy,

As for the validation separation question you posted here, I've also found
your another thread "Validation Groups". I've posted some suggestion about
use the ASP.NET 2.0 Validation Group feature there. Please feel free to
followup there if you have any further questions on this.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

 
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
Is load testing a web service with seperate threads from one machinethe same as a single thread from seperate machines? ses Java 5 03-29-2011 03:36 PM
Validation In Seperate Controls conflicting RSH ASP .Net 1 08-02-2006 07:55 PM
User Controls with same name on same page rgparkins@hotmail.com ASP .Net 3 05-16-2006 12:55 PM
Known issues using 2 of the same Web User Controls on the same page mrobins@gmail.com ASP .Net 2 05-04-2006 01:15 PM
Mutiple user controls on page to fire same validation control Martin ASP .Net 2 04-25-2005 05:20 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57