Monday, March 26, 2012

Validation Control- urgent, Please help

I've same panel for updating and adding new customer on my web form. But the problem is causesValidation is working for either one of these, I mean if user clicks update 1st than causesValidation is true and message Box pops up for validation Control, but if user clicks Back button and try to add a new customer, he is not able to submit the request but no message box pops up for validation controls.I have a panel which has a submit button.

I think you have hidden some controls based on the type of operation which is being validated. Have a separate validationsummary by grouping the different sets of controls by providing groupname


I have no idea how to do it and I've to give my application for testing in another 1 hr
I dont know what exactly you are doing, maybe some code might help. But try to set the EnableViewState to false the the vaildating control. Hoep this helps

Hi, friend:

Could you please post some of your code?

Regards

No comments:

Post a Comment