[2008] Extending ajax accordion control
Guys,
I'm using the Ajax accordion control to display some data. Could anybody tell me if it would be possible to extend this control so that each header section contains a checkbox, checking it would render that section not applicable and it wouldn't expand. Is this doable, if so how?
Thanks
Bob
Re: [2008] Extending ajax accordion control
This is definitely doable as the full source code to the AJAX Control Toolkit is available from the Code Plex though what you're proposing sounds kind of awkward. Clicking in the header should expand it but clicking a little checkbox in the same area would disable that? That would be a pain if you missed or you clicked on the words next to the checkbox hoping they would click the box but don't.
I haven't had a chance to look at the source so I couldn't tell you if it's better to update their source or inherit and extend. It's doable though I have some usability concerns.
If a section isn't applicable, shouldn't you just leave it collapsed?
Re: [2008] Extending ajax accordion control
Hi Kasracer,
Thanks for the response. Yeah, the functionality does sound kind of awkward, but I need a way to enable/disable each section...
... and, if it isn't applicable then I want to either leave it collapsed, or allow them to expand but all items in that section to be disabled.
I'll take a look at the course code... if you have any suggestions please shout up
Cheers
Bob