Advertisement

04.10.2008 at 05:19AM PDT, ID: 23311345
[x]
Attachment Details

Using RequiredFieldValidator Control on a Page Disables All Other Buttons!???

Asked by salman_sulaiman_2008 in Visual Studio .NET 2005, Programming for ASP.NET

Tags: Microsoft, Microsoft Visual Studio 2005, 2005, ASP.NET, Microsoft Windows Internet Explorer 7, RequiredFieldValidator Control, MasterPages, RegularExpressValidator COntrol

Greetings Experts!
I have this weird problem, I can't figure it out!
I am using masterpages in my web application, and on one of the pages which uses the masterpage, has several textbox controls, and I have added several RequiredFieldValidator controls on  the page and associated them with those Textbox controls, the validation works great, but I just found out that if I click any other button on the page which are not the main submit button, the validation controls  fires out, this situation got me stuck! isn't there a way to control the "validation control" so that it doesn't fire unless the user clicks on one specific button only, so that the rest of the button controls will still work independently from the "validation control"..???

Thanks in advance.
~salman~Start Free Trial
[+][-]04.10.2008 at 05:29AM PDT, ID: 21323953

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Programming for ASP.NET
Tags: Microsoft, Microsoft Visual Studio 2005, 2005, ASP.NET, Microsoft Windows Internet Explorer 7, RequiredFieldValidator Control, MasterPages, RegularExpressValidator COntrol
Sign Up Now!
Solution Provided By: zkeown
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.10.2008 at 05:42AM PDT, ID: 21324075

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628