|
-
Dec 29th, 2010, 01:33 PM
#1
Thread Starter
Hyperactive Member
[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?
-
Dec 29th, 2010, 01:47 PM
#2
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
-
Dec 29th, 2010, 02:19 PM
#3
Thread Starter
Hyperactive Member
Re: Controlling Collapsible Panel with DropDownList
Actually I think I found what I needed here
http://forums.asp.net/t/1439439.aspx
-
Dec 29th, 2010, 02:32 PM
#4
Re: [RESOLVED] Controlling Collapsible Panel with DropDownList
So you were wanting to do it client side then 
Gary
-
Dec 29th, 2010, 03:01 PM
#5
Thread Starter
Hyperactive Member
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.
-
Dec 30th, 2010, 04:15 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|