By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,176 Members | 1,071 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,176 IT Pros & Developers. It's quick & easy.

two usercontrol causes validation conflict ...

P: n/a
Hi All,

I have two UserControls, KK1 and EFT1.
Each one has one ScriptManagerProxy and one UpdatePanel .

in addition to these, on first control (KK1) there is one button.
on second control (EFT1), there are several textboxes ,
RequiredFieldValidators for textboxes and one button.

I load these usercontrols via the PlaceHolders, like that;
Control KK = this.LoadControl("~/UserControl/KK1.ascx");
Control EFT = this.LoadControl("~/UserControl/EFT1.ascx");
But, when i click the button from first usercontrol (KK1 ), it validate all
requiredFieldValidators from second usercontrol(EFT1).
I set different ValidationGroup for button of KK1 usercontrol. Bu it still
validate to second (EFT1) one.

How can i prevent to validate for second usercontrol when i click button of
first usercontrol ?

Thanks in advance ..

Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.