-
Managing a panel control dynamically
Hello Everybody,
I am facing a small problem with panel control.I have a dropdownlist control ,a panel control below that and few other conrols below the panel control on my page.
Now what I want is that depending up on an item selected in dropdownlist I want to make my panel invisible.This I can do with the visible property of the panel.But when I make the visible property to false , there is a space left on the page (where the panel used to be). and I want the other controls below the panel to be moved up. ie I want don't want a gap left out on my page.
Can somebody please help me or suggest a way in this regard.
Thanks in advance,
k_rads
-
I would probably use JavaScript to set the panel div's visibility to none in response to the dropdown's onClick event.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
Set the pagelayout property of the page to Flowlayout. This should solve your problem
Similar Threads
-
By Magdalene in forum ASP.NET
Replies: 1
Last Post: 07-05-2005, 06:16 AM
-
By Hunterlmc in forum Web
Replies: 0
Last Post: 06-15-2005, 10:29 AM
-
By Magdalene in forum ASP.NET
Replies: 4
Last Post: 05-17-2005, 09:42 PM
-
Replies: 0
Last Post: 05-17-2002, 11:52 AM
-
By David Hermansen in forum ASP.NET
Replies: 2
Last Post: 02-23-2002, 08:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks