Solved

How to bypass RequiredFieldValidator when redirecting to another page

Posted on 2008-10-21
4
642 Views
Last Modified: 2012-06-21
I am developing a web site in ASP.NET with VB.NET on MS Visual Web Developer.  I have a web form with a number of required fields, each using asp:RequiredFieldValidator.  I have a button that redirects the customer to another page ( Response.Redirect("product_list.aspx?id=" & categoryID) in code behind ) to con.  But when the customer clicks the button, each of the RequiredFieldValidator 's error messages fire.  Is there a way to got to the redirect page without these firing?
0
Comment
Question by:OVC-it-guy
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
fhdigital earned 500 total points
ID: 22771196
0
 

Author Comment

by:OVC-it-guy
ID: 22771883
Ooh, let me give that a try.
0
 

Author Comment

by:OVC-it-guy
ID: 22771942
Works like a champ!  Thanks.
0
 
LVL 1

Expert Comment

by:fhdigital
ID: 22776781
I'm glad it helped!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question