Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Accordion not working [27477]

$
0
0
Just updated to the latest version today, and my Accordions stopped working. They are displayed one the page using the asp ScriptManager, and the top pane is expanded, but I cannot expand any other pane. Reverted back to old version, works fine.

Also noticed that when I specify an Accordion or an AccordionPane control in the AjaxControlToolkit.config file I get:

__Offending URL: http://localhost:1364/CSI/ManageAccounts.aspx
Source: AjaxControlToolkit
Message: Could not find control 'Accordion'. Please make sure you entered the correct control name in AjaxControlToolkit.config file.
Inner Exception:
Stack trace: at AjaxControlToolkit.ToolkitScriptManagerConfig.GetControlTypesInBundles(HttpContextBase context, String[] bundles) in f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManagerConfig.cs:line 146 at AjaxControlToolkit.ToolkitScriptManagerCombiner.GetScriptReferences(HttpContextBase context, String[] bundles) in f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManagerCombiner.cs:line 207 at AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) in f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:line 236 at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
__

And:
Offending URL: http://localhost:1364/CSI/ManageAccounts.aspx
Source: AjaxControlToolkit
Message: Could not find control 'AccordionPane'. Please make sure you entered the correct control name in AjaxControlToolkit.config file.
Inner Exception:
Stack trace: at AjaxControlToolkit.ToolkitScriptManagerConfig.GetControlTypesInBundles(HttpContextBase context, String[] bundles) in f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManagerConfig.cs:line 146 at AjaxControlToolkit.ToolkitScriptManagerCombiner.GetScriptReferences(HttpContextBase context, String[] bundles) in f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManagerCombiner.cs:line 207 at AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) in f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:line 236 at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Here's my ControlBundle:

<controlBundle name="ManageAccountsBundle">
<control name="ComboBox" />
<control name="CalendarExtender" />
<control name="TextBoxWatermarkExtender" />
<control name="MaskedEditExtender" />
<control name="Accordion" />
<control name="AccordionPane" />
</controlBundle>
Comments: This fixed my issue, as long as I changed the ScriptManager from the asp:ScriptManager to the ajaxToolkit:ToolkitScriptManager and specified the Accordion controls in my ControlBundle in the AjaxControlToolkit.config file, as shown above.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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