Solved

How to bypass RequiredFieldValidator when redirecting to another page

Posted on 2008-10-21
4
650 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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