Solved

How to bypass RequiredFieldValidator when redirecting to another page

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

770 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