Hello!
I have a page with a user control (UserControlA), which itself contains some content and another usercontrol (UserControlB) nested inside.
The content in the UserControlA is within an update panel (UpdatePanelA) and contains two buttons (ButtonA1, ButtonA2)
UserControlB is within an update Panel (UpdatePanelB) with UpdateMode="Conditional" and the trigger set to the ButtonA1 so my expectation is that when ButtonA1 is clicked then UserControlB is posted back and the UpdatePanelB display updated. Which is what happens. Good so far
The problem is that I am also getting a postback in UserControlB when ButtonA2 is clicked and this isn't a trigger. UpdatePanelB is not updated though in this case.
Is this the way it is supposed to behave? or am I doing something wrong? I don't want to be doing a load of unnecessary work loading UserControlB when any button is clicked (even though the display isn't updated).
Advice appreciated!
thanks
Ian