Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How to expand a specific ASP.NET AJAX Accordion Pane on Page Load

$
0
0

I want to redirect with a hyperlink to a page that has an Ajax Accordion, and open a specific pane, dependent on the content of the hyperlink.

eg ..

if the hyperlink is "response.redirect("my_accordionpage.aspx?pane5)" or something similar I want pane 5 to be open when the page loads ...

if the hyperlink is "response.redirect("my_accordionpage.aspx?pane8)" or something similar I want pane 8 to be open when the page loads ...

But I also want the default on the accordion page to be no panes open, so that if the accordion page is accessed normally (other than through a hyperlink), the default applies, and all panes are initially closed.

Probably something to do with Set_SelectedIndex, but any help would be appreciated ~ (VB if possible)

Regards

Stuart


Viewing all articles
Browse latest Browse all 5678

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>