on-internet
← Community

How to Show/Hide a Panel upon Click of a Button in ASP.Net

Stack Overflow ·

I am having issues showing up or hiding a Panel on a button click. By default the panel is hidden but I want the panel to show up once the button is clicked and it is not working for me now. The only time the panel shows up is when another post-back occurs, like when I select drop down and that triggers a post-back then my panel will show up. I think the issue is that I am using an UpdatePanel and which is only doing a partial post back. Here is the code where I am using AsyncPostBackTrigger for my control (Button). <div id="dvGrid" style="padding: 10px; width: 876px"> <asp:UpdatePanel ID="Upd

Comments

Sign in or sign up to comment and upvote.

No comments yet.