DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Posts
    1

    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

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    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!

  3. #3
    Join Date
    Feb 2006
    Posts
    21
    Set the pagelayout property of the page to Flowlayout. This should solve your problem

Similar Threads

  1. Replies: 1
    Last Post: 07-05-2005, 06:16 AM
  2. Replies: 0
    Last Post: 06-15-2005, 10:29 AM
  3. Loading User Control Dynamically
    By Magdalene in forum ASP.NET
    Replies: 4
    Last Post: 05-17-2005, 09:42 PM
  4. Replies: 0
    Last Post: 05-17-2002, 11:52 AM
  5. How do I - render url in server panel control
    By David Hermansen in forum ASP.NET
    Replies: 2
    Last Post: 02-23-2002, 08:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links