<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/3256907.aspx</link><pubDate>Thu, 25 Jun 2009 06:17:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3256907</guid><dc:creator>Hyacinth Broadchest</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3256907.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3256907</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;...removed my post.&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2340499.aspx</link><pubDate>Tue, 06 May 2008 13:56:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2340499</guid><dc:creator>whatispunk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2340499.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2340499</wfw:commentRss><description>&lt;p&gt;One thing you may consider trying is using something other than the link text of the nodes to open your link. If you were to add an icon to the right of the text (like an arrow) as an ImageButton this would be your navigation control while the clicking the text would merely open/close the pane. This way you could have as many nested accordions as you wanted (theoretically). But this is just an idea, I&amp;#39;ve not yet tried it.&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2339298.aspx</link><pubDate>Tue, 06 May 2008 03:29:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2339298</guid><dc:creator>Stoutheart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2339298.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2339298</wfw:commentRss><description>&lt;p&gt;Anneleen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The problem with the accordion control as a navigation menu is that it only seems to work if you only have one tier menus.&amp;nbsp; To use a bulleted list as an example, it would look something like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Main Item 1&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Sub Item 1 &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Sub Item 2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Main Item 2&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Sub Item 1&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Sub Item 2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;If your menu structure has more then one tier then an accordion menu likely will not work; or at least I&amp;#39;ve not found a way to make it work. Again, using a bulleted list as an example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Main Item 1&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Sub Item 1&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Sub Sub Item 1&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Sub Sub Item 2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Sub Item 2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Main Item 2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Now, to move on to your next question, you can have a main menu item navigate to a link rather then display a sub menu, but I&amp;#39;ve ONLY gotten it to work IF that main item does NOT have a submenu.&amp;nbsp; If it does, then I don&amp;#39;t know how to get it to show the submenu AND navigate to a link.&amp;nbsp; As long as it does not have a submenu, the link should work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a working example of this, but I will have to dig it up.&amp;nbsp; Please be patient with me a little longer and I will get it posted.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2338310.aspx</link><pubDate>Mon, 05 May 2008 15:45:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2338310</guid><dc:creator>whatispunk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2338310.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2338310</wfw:commentRss><description>&lt;p&gt;The Accordion control is part of the AjaxControlToolkit. It was not designed by me :P&lt;/p&gt;
&lt;p&gt;The normal behavior is that when you click on a Header item it will expand that section of the accordion. Each link inside that section (below the header) is clickable and will perform an action or navigate somewhere. &lt;/p&gt;
&lt;p&gt;The header cannot both perform an action/open a page and open its child panel (afaik). I could be wrong, who knows. But if it is possible I don&amp;#39;t know how to do it. I&amp;#39;d love to twitter around with this code for you but it is at home, and I am at work. &lt;/p&gt;
&lt;p&gt;If you do find a way to accomplish this please post it here. I would be very interrested to know too.&lt;/p&gt;
&lt;p&gt;You should create a new thread in the forums asking &amp;quot;How to make Accordion Header Click navigate to url and open pane&amp;quot;.&lt;/p&gt;
&lt;p&gt;Sorry I can&amp;#39;t be of greater help.&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2338212.aspx</link><pubDate>Mon, 05 May 2008 14:56:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2338212</guid><dc:creator>Anneleen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2338212.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2338212</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m sorry to bother you like this but I don&amp;#39;t get what you mean?&amp;nbsp; There isn&amp;#39;t a possibility like this?&amp;nbsp; Because I have some menuitems without a submenu &amp;amp; have some others with several submenu&amp;#39;s&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Greetz&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anneleen&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2338143.aspx</link><pubDate>Mon, 05 May 2008 14:25:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2338143</guid><dc:creator>whatispunk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2338143.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2338143</wfw:commentRss><description>&lt;p&gt;What you are trying to do is not how the accordion was built. The accordion is designed so that when you click on a header link it will expand the node, not navigate to the page.&lt;/p&gt;
&lt;p&gt;You are trying to get it to navigate to a page on a header click. So unless you want to change the Accordion code, I don&amp;#39;t see how you are going to make this happen. &lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2338128.aspx</link><pubDate>Mon, 05 May 2008 14:13:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2338128</guid><dc:creator>Anneleen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2338128.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2338128</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for your reply&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I changed it already into this: &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.HeaderContainer.Controls.Add(New LiteralControl(&amp;quot;&amp;lt;a href=&amp;#39;&amp;quot; &amp;amp;
RootNodesEnumerator.Current.url &amp;amp; &amp;quot;&amp;#39;&amp;gt;&amp;lt;span&amp;gt;&amp;quot; &amp;amp;
RootNodesEnumerator.Current.Title &amp;amp; &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;quot;))&lt;/p&gt;&lt;p&gt;It shows the link&amp;nbsp; at the bottom of the page but It doesn&amp;#39;t goes towards the page.&lt;/p&gt;&lt;p&gt;What is the problem??&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2338084.aspx</link><pubDate>Mon, 05 May 2008 13:49:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2338084</guid><dc:creator>whatispunk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2338084.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2338084</wfw:commentRss><description>&lt;p&gt;Try changing this line:&lt;/p&gt;
&lt;p&gt;p.HeaderContainer.Controls.Add(&lt;span class="kwd"&gt;&lt;font color="#0000ff"&gt;New&lt;/font&gt;&lt;/span&gt; LiteralControl(&lt;span class="st"&gt;&lt;font color="#ff0000"&gt;&amp;quot;&amp;lt;span&amp;gt;&amp;quot;&lt;/font&gt;&lt;/span&gt; &amp;amp; RootNodesEnumerator.Current.Title &amp;amp; &lt;span class="st"&gt;&lt;font color="#ff0000"&gt;&amp;quot;&amp;lt;/span&amp;gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;))&lt;/p&gt;
&lt;p&gt;to this:&lt;/p&gt;
&lt;p&gt;p.HeaderContainer.Controls.Add(&lt;span class="kwd"&gt;&lt;font color="#0000ff"&gt;New&lt;/font&gt;&lt;/span&gt; LiteralControl(&lt;span class="st"&gt;&lt;font color="#ff0000"&gt;&amp;quot;&amp;lt;a onclick=&amp;quot;headerOnClick(this)&amp;gt;&amp;quot;&lt;/font&gt;&lt;/span&gt; &amp;amp; RootNodesEnumerator.Current.Title &amp;amp; &lt;span class="st"&gt;&lt;font color="#ff0000"&gt;&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;))&lt;/p&gt;
&lt;p&gt;You can change the onclick to whatever you need but it will have to be a javascript function you write. Passing &amp;#39;this&amp;#39; as the parameter isn&amp;#39;t mandatory, you can pass whatever you want, or you could simply set the href to the page&amp;#39;s url and forget about the onclick.&lt;/p&gt;
&lt;p&gt;As far as making the onmouseover of the header expand the accordion node, this will be much more difficult because you would have to change the accordion itself, as this built in behavior.&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2337667.aspx</link><pubDate>Mon, 05 May 2008 10:57:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2337667</guid><dc:creator>Anneleen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2337667.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2337667</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for the answer But what do I need to use to give it the possibility onClick or onMouseOver??&amp;nbsp; Because I use a href can I still use the onClick method?&amp;nbsp; If I give already the link?&amp;nbsp; How Can I fetcht the link then? Do I still have to use the href or do you suggest something else?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Greets&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2332189.aspx</link><pubDate>Thu, 01 May 2008 15:23:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2332189</guid><dc:creator>whatispunk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2332189.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2332189</wfw:commentRss><description>&lt;p&gt;Sorry It&amp;#39;s been quite a while since I&amp;#39;ve looked at this code (or used an Accordion) but I remember not being able to do this either.&lt;/p&gt;
&lt;p&gt;If you convert the Accordion Headers to links then how will you open the accordion pane?&lt;/p&gt;
&lt;p&gt;This was one major drawback of using it for site navigation.&lt;/p&gt;
&lt;p&gt;I suppose you could change the code so a mouseover of the header would open the pane and a click would navigate? Or maybe a double click would open and a single would navigate or vice-versa.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2331959.aspx</link><pubDate>Thu, 01 May 2008 13:27:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2331959</guid><dc:creator>Anneleen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2331959.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2331959</wfw:commentRss><description>&lt;p&gt;Hi Thank you for this code it&amp;#39;s really useful.&amp;nbsp; But I wanted to make from the headers of the accordionpane also links&lt;/p&gt;&lt;p&gt;I changed the code to this &lt;/p&gt;&lt;p&gt;p.HeaderContainer.Controls.Add(New LiteralControl(&amp;quot;&amp;lt;a href=&amp;#39;&amp;quot; &amp;amp; RootNodesEnumerator.Current.url &amp;amp; &amp;quot;&amp;#39;&amp;gt;&amp;lt;span&amp;gt;&amp;quot; &amp;amp; RootNodesEnumerator.Current.Title &amp;amp; &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But this doesn&amp;#39;t work&lt;/p&gt;&lt;p&gt;What do I wrong?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Greets&lt;/p&gt;&lt;p&gt;Anneleen&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2028218.aspx</link><pubDate>Tue, 27 Nov 2007 16:43:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2028218</guid><dc:creator>whatispunk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2028218.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2028218</wfw:commentRss><description>&lt;p&gt;Not at the present, but it could be done.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t know how well it would perform in IE though. It would basically require nested Accordions within each pane. IE already has questionable performance with this control.&lt;/p&gt;
&lt;p&gt;I was using a lot of PNG images to style it though and found that IE doesn&amp;#39;t like 1px wide/tall PNGs. It likes larger blocks. Once I increased the size of the repeating PNG background images the performance got a lot better. But it still takes 20% cpu sometimes to expand or shrink a pane.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want the expand-a-shrink-a-bility in your sub-sub nodes you could just do it as a &amp;lt;ul&amp;gt; in the pane I guess. But that&amp;#39;s probably not the effect you&amp;#39;re looking for.&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2028217.aspx</link><pubDate>Tue, 27 Nov 2007 16:43:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2028217</guid><dc:creator>Stoutheart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2028217.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2028217</wfw:commentRss><description>&lt;p&gt;As far as my example goes, no it does not support more than 1 level under it as an accordion control.&amp;nbsp; You can still have a menu control load withing the accordion control or just a few indented bulleted lists.&amp;nbsp; The way the accordion control is designed, it doesn&amp;#39;t work with the idea of having more than a 2-tier menu.&amp;nbsp; a 3-tier or more menu would need something other than an accordion control.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Of course, having said all of this, you could insert another accordion control within the first to handle the 3rd and/or 4th tiers... but it is then a seperate object and not part of the first at all. other than location on the page of course.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does this make sense?&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2028105.aspx</link><pubDate>Tue, 27 Nov 2007 15:53:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2028105</guid><dc:creator>TCavins</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2028105.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2028105</wfw:commentRss><description>&lt;p&gt;Does this handle multiple levels?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;For instance, in the screenshot posted, lets say the Elevator section had more sections underneath it. Would they also expand in another accordion control?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;</description></item><item><title>Re: Accordion as a sitemap</title><link>http://forums.asp.net/thread/2027739.aspx</link><pubDate>Tue, 27 Nov 2007 13:03:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2027739</guid><dc:creator>Stoutheart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2027739.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2027739</wfw:commentRss><description>&lt;p&gt;&lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt; I now have a version that will make sure the appropriate pane is open when the page is loaded.&amp;nbsp; I had to make some tweaks to get my code to work with a dynamic sitemap pulled from an SQL database, but it&amp;#39;s working now.&amp;nbsp; Sometime I&amp;#39;ll post my code again as well. &lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;</description></item></channel></rss>