<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.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>Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx</link><description>I thought I&amp;#39;d write a few posts about the controls I&amp;#39;ve created for Brad&amp;#39;s Mix06 demo, which you can download from his blog: Full source code of the demo: http://blogs.msdn.com/brada/archive/2006/03/23/559077.aspx Accordion control source</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#599921</link><pubDate>Sun, 01 Oct 2006 00:44:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:599921</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;Nick: of course. Just set the current pane before initialization (which is easy if you're using xml-script, just write the attribute). When the page loads, all panes will be visible until initialization (this is desirable because if people visit your page with JavaScript disabled, they will see all panes and should still be able to use your application) but as soon as initialization happens, the panes other than the current one will collapse without animating.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=599921" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#598430</link><pubDate>Sat, 30 Sep 2006 17:14:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:598430</guid><dc:creator>Nick</dc:creator><author>Nick</author><description>Is it possible to open a web page with accordion to open with a particular pane? For example if i have pane1 pane2 and pane3  and when I call a page, it will start with pane2 open.  Thanks.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=598430" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#572300</link><pubDate>Fri, 22 Sep 2006 23:37:27 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:572300</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;No, this one was written way before. I'll update the post to make that clearer and to point people to the toolkit one (which should be used instead of this sample).&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=572300" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#572275</link><pubDate>Fri, 22 Sep 2006 23:31:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:572275</guid><dc:creator>John Porter</dc:creator><author>John Porter</author><description>Sorry yes I'm using the toolkit on, my bad thought this was the same one.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=572275" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#572268</link><pubDate>Fri, 22 Sep 2006 23:26:49 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:572268</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;John: I have no idea what dll you're talking about. If you're using the Toolkit's Accordion, you should ask this question on the toolkit forums:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.asp.net/1022/ShowForum.aspx"&gt;http://forums.asp.net/1022/ShowForum.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=572268" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#572237</link><pubDate>Fri, 22 Sep 2006 23:18:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:572237</guid><dc:creator>John Porter</dc:creator><author>John Porter</author><description>I've got the lattest 60914 Prod dll but when I add it to my toolbox I have the accordion component but do not seem to have the AccordionPane component and so am ubale to use this.

Is anyone else having the same problem?
How do I go about fixing it?&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=572237" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#465044</link><pubDate>Mon, 07 Aug 2006 20:35:49 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:465044</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;Billy: yes, you can set the viewIndex from the xml-script tag. This way, it will change without playing the animation. If you're not using xml-script, just set the index before you call initialize.&lt;/p&gt;
&lt;p&gt;Maybe what you want to do is make sure only the pane that you want is shown, even before the scripts are initialized and the control gets a chance to hide the other panes? If that's the case, you'll have to do that in the HTML and CSS, by setting the overflow to hidden and the height to 1px on the other panes.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=465044" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#465039</link><pubDate>Mon, 07 Aug 2006 20:11:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:465039</guid><dc:creator>Billy</dc:creator><author>Billy</author><description>Any suggestion on how to alter the viewIndex that is used on page load?  

I have used these panels in a window that pops up, but certain times I would like the first panel to be displayed, and other times I would like the second panel to be expanded initially.

&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=465039" width="1" height="1"&gt;</description></item><item><title>re: Mix06 demo part 1: the accordion control</title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#455184</link><pubDate>Thu, 29 Jun 2006 15:22:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:455184</guid><dc:creator>Jason Kealey</dc:creator><author>Jason Kealey</author><description>Brian:

I think I had the same problem you did with openrico accordion. 

My accordion behaviour was still working, but the accordion lost all its styling (background colors, etc.).

Turns out that I was linking to my stylesheet using &lt;link href=.... /&gt; outside of my head. I added my stylesheet the right way (server-side) and not it works fine.

        public void addCss(string url)
        {
            if (Page.Header != null)
            {
                HtmlLink cssLink = new HtmlLink();
                cssLink.Href = url;
                cssLink.Attributes.Add("rel", "stylesheet");
                cssLink.Attributes.Add("type", "text/css");
                Page.Header.Controls.Add(cssLink);
            }
        }
    }

My accordion is not inside an update panel though... 
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=455184" width="1" height="1"&gt;</description></item><item><title>Pointers to Great ASP.NET Atlas Content </title><link>http://weblogs.asp.net/bleroy/archive/2006/03/28/Mix06-demo-part-1_3A00_-the-accordion-control.aspx#448630</link><pubDate>Tue, 23 May 2006 06:14:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:448630</guid><dc:creator>ScottGu's Blog</dc:creator><author>ScottGu's Blog</author><description>&lt;a rel="nofollow" target="_new" href="http://atlas.asp.net"&gt;http://atlas.asp.net&lt;/a&gt; is the best place to visit to learn more and download the latest Atlas CTP Release...&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=448630" width="1" height="1"&gt;</description></item></channel></rss>