Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to bypass RequiredFieldValidator when redirecting to another page

Posted on 2008-10-21
4
Medium Priority
?
681 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 2000 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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

580 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