[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?
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
Re: Controlling Collapsible Panel with DropDownList
Actually I think I found what I needed here
http://forums.asp.net/t/1439439.aspx
Re: [RESOLVED] Controlling Collapsible Panel with DropDownList
So you were wanting to do it client side then :)
Gary
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.
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