Solved

How to bypass RequiredFieldValidator when redirecting to another page

Posted on 2008-10-21
4
616 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
Comment Utility
0
 

Author Comment

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

Author Comment

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

Expert Comment

by:fhdigital
Comment Utility
I'm glad it helped!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now