Link to home
Start Free TrialLog in
Avatar of dj_user2
dj_user2

asked on

Access parent control on button click

On button click, I want to access the parent (a div) of the button control. How can I do that?

On button click, in addition to performing some db operations, I have to change the div style too.
<div id="Main" runat="server">
   <asp:button id="btnSave" runat="server" onclick="btnSave_Clicked" text="Save" />
</div>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial