Results 1 to 6 of 6

Thread: [RESOLVED] Controlling Collapsible Panel with DropDownList

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    407

    Resolved [RESOLVED] Controlling Collapsible Panel with DropDownList

    HI Guys,
    I was wondering if anyone knew if it was possible to control a collapsible panel with a drop down list?

    For example. Say the drop down list has options, 1, 2, 3, 4. I want to hook up panels that go to each option. So when the user selects 1, panel one is shown, when user selects 4 panel 4 is shown.

    Is this possible?
    My Websites
    SharpMP3 - MP3 Design Articles www.sharpmp3.com
    Yobbers - Job Search www.yobbers.com
    Lets Trend - Methods For Riding Stock Trends www.letstrend.com

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Controlling Collapsible Panel with DropDownList

    Hello,

    Are you trying to do all this on the client side, or are you happy for there to first be a post back to the server in order to expand/collapse the correct panel?

    Gary

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    407

    Re: Controlling Collapsible Panel with DropDownList

    Actually I think I found what I needed here
    http://forums.asp.net/t/1439439.aspx
    My Websites
    SharpMP3 - MP3 Design Articles www.sharpmp3.com
    Yobbers - Job Search www.yobbers.com
    Lets Trend - Methods For Riding Stock Trends www.letstrend.com

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Controlling Collapsible Panel with DropDownList

    So you were wanting to do it client side then

    Gary

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    407

    Re: [RESOLVED] Controlling Collapsible Panel with DropDownList

    Yeah, the less calls to the server the better, but I also want to be able to control my controls from the server.
    My Websites
    SharpMP3 - MP3 Design Articles www.sharpmp3.com
    Yobbers - Job Search www.yobbers.com
    Lets Trend - Methods For Riding Stock Trends www.letstrend.com

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Controlling Collapsible Panel with DropDownList

    This is where you have to make compromises. If you need to do work on the server, then you have to post back. Anything "critical" to your application, should always be done on the server, as doing it on the client can lead to problems, as the user can turn off things like JavaScript within their browser.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width