Wrox Programmer Forums
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 5th, 2005, 07:36 AM
Authorized User
Join Date: Mar 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to NiNe
Default Validation

if i have 2 group one for login that contain
1)textbox for user name
2)textbox for password
3)button login
and second for search
one textbox for the search and buton search
i need to use RequiredFieldValidator
if i click in the login button and textbox for search is empty will give me error RequiredFieldValidator
i need create seprate validation if i click in login don't effect in the serach group

this example if i click button GO will not give me error and Login Viceversa
each validation for one group only

Old July 5th, 2005, 10:27 AM
Friend of Wrox
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts

   I don't see a way of doing this with validator controls since they will fire the client side script before and server side script can be perfromed.
   Instead of validators, try using labels, and set the visible property to false. Then on the click of the button, perform your validation server side, and show and hide the labels as needed.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone validation + web form validation morbo Struts 0 August 19th, 2008 04:02 AM
Validation using Validation Framework kalyangvd Struts 1 January 2nd, 2008 06:53 AM
validation mikedeepak ASP.NET 2.0 Basics 0 May 28th, 2007 03:20 AM
Validation g_vamsi_krish ASP.NET 1.0 and 1.1 Professional 2 January 11th, 2006 06:46 AM
Validation koneruvijay ADO.NET 1 January 6th, 2004 09:22 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.