468,766 Members | 1,395 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,766 developers. It's quick & easy.

Panel Visibility Problem on Postback

Hi all,

I'm hoping I've just done something stupid here, but...

I have two panels on an ASP.NET web form. When the page first loads
(i.e. not a postback), I set the visibility of both panels and it
works as expected. However, when I select an item from a dropdown
list (set to postback), when the page does the postback and I'm in the
Page_Load handler, I set the visible property of each of the panels to
something else. I'm noticing that while the code executes without
error, neither of the panels changes; that is, they retain their
visible values from when the page first loaded.

I'm quite stumped by this. If any further info is needed to help
solve this little mystery, I'll gladly furnish it. Thanks again!

Mar 8 '07 #1
0 1198

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Alexandre Soares | last post: by
2 posts views Thread by Mark Rae | last post: by
1 post views Thread by Manny Chohan | last post: by
3 posts views Thread by rmunson8 | last post: by
9 posts views Thread by Bill Long | last post: by
1 post views Thread by clintonG | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.