Hey guys.
I've practically spent seven or eight hours trying to get the ASP.NET AJAX Accordion to work and it simply will not cooperate. I have been to every imaginable corner of the web thanks to Bing and Google, read post after post on this forum, and done any other thing I could possibly think of to get this to work, yet I still hit this wall.
Here's the code I've been using to get this to work:
<%@ Page Language="VB" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"></script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title></head><body><form id="form1" runat="server"><div><cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager><cc1:Accordion ID="AccordionStates" runat="server" ContentCssClass="AccordionContent" FramesPerSecond="40" HeaderCssClass="AccordionHeader" SelectedIndex="0" HeaderSelectedCssClass="AccordionHeaderSelected" FadeTransitions="true" RequireOpenedPane="false"><Panes runat="server"><cc1:AccordionPane ID="Pane_AK" runat="server"><Header>Arkansas Header</Header><Content>Arkansas Content<br />will go<br />here</Content></cc1:AccordionPane><cc1:AccordionPane ID="Pane_MA" runat="server"><Header>Massachusetts Header</Header><Content>Massachusetts Content<br />will go<br />here</Content></cc1:AccordionPane></Panes></cc1:Accordion></div></form></body></html>
As for the Massachusetts/Arkansas bit, I found that on some other forum that said that coding would work (it didn't for me). I'm hosting this failed attempt athttp://pudgle.com/test/development/index/Default.aspx. I do have the Bin folder in the project, so that's not the issue.