471,325 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

two usercontrol causes validation conflict ...

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
0 930

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by KB | last post: by
2 posts views Thread by Eric Maia | last post: by
2 posts views Thread by Sascha | last post: by
1 post views Thread by freshRecruit | last post: by
reply views Thread by Arpan | last post: by
reply views Thread by Nariban Barkan | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.