AJAX :: Accordion Menu - Extender Control Not Registered
Dec 20, 2010
I have a override Render method on my AccordionMenu.ascx.cs, basically just replace the <span></span> tag with <div></div> due to w3c compliance requirement, this is the c# code:
but when i try to run it, the page always throws an exception to me like this: Extender control 'MyAccordion_AccordionExtender' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling. this is the context of my pages: accordion menu is placed in the content page, and the content page is inherited from a master page, the master page has a script manager.
i have used your code to export <div> to pdf & it works fine but when i am using a ajax controls in a <div> tag then it gives me error message i.e :-
Extender control 'CalendarExtender2' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors().Parameter name: extenderControl
I am getting this error on a simple page that has the following registration:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>Additionally, I have the following in the MasterPage: <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true"> </cc1:ToolkitScriptManager>
I'm creating a user control to be placed within a masterpage on a site. Inside the user control, I have placed a menu. It is wired up to a sitemap datasource to get navigation with security trimming included. question: How do I use the Accordion toolkit control to collapse main portions of the menu? For example, if I have Orders and Supplies and subpages contained therein, how do I setup Accordion to traverse the sitemap based on the user's security privileges?
I run into this problem while playing with accordion for a project. Sometimes VS 2008 auto generates code, without me wanting to!!!. Less generally I have an Accordion with 2 Accordion Panes in it. When modifing properties of the Accordion VS 2008 adds an Accordion extender and duplicates the two Accordion Panes!
My original code
My code after pressing space between the properties of the Accordion
i want to implement an accordion control to the left navigation menu. The Main title on left menu called Activities is standard so i have hard coded it. The subtitles I want to pull from the database , from the stored procedure "Activity_Get". however i am not able to achieve this because I get an error "DataSource 'sds2 ' for control 'accActivities' doesn't exist". The following is the aspx code.
iam placing the textbox of slider control in one panel and this panel iam showing when mouse goes to a linkbutton by using hover .the problem is when iam using slider extender with hover iam getting the following error for the slider control ---the errro is set valid value for the height and widht attributes in the slider css classes..how to solve this problem
I am trying to develop menu usings the hover menu extender. I have nested menus - in other words, if some items in the drop down menu (hover) have menu items that are displayed next to it (using another hover menu extender control). I am trying to keep the original menu displayed when the sub menu is displayed, but with no luck. I have tried using animation, but that doesn't seem to work.
Is there a way to validate if the event handler is already removed? Here's my sample code:
I am having 2 problems at this time with the ajax accordion extender. At my website [URL] I have an accordion extender for the "Products" button. When I browse my site in IE everything is as it should be. You click on the "Products" button and the accordion expands to show 4 more buttons. However if you browse the site in Chrome the accordion expands and you see an empty pane. I have tried changing many settings in the accordion control and pane but nothing seems to make it work correctly in Chrome.
Another problem I am having is I would like to make the accordion expand when you hover your mouse over the "Products" button. The functionality I want is that it will stay open until you either hover over any other button outside of the accordion, back over the "Products" button again or you navigate to a new page. Here is the code for the troubled accordion pane:
I'm posting in this forum because I suspect that my issue is to do with how the Toolkit is handling Overflow, coupled with a subtle difference in rendering between IE8 and Firefox.I have a two level menu created as follows:
In IE8, the menu behaves as expected. In Firefox the behaviour is also correct, except that whenever a menu option is clicked (level 1 or level 2), a horizontal scrollbar appears. Once it has appeared, it remains in place until the screen refreshes or, oddly, focus moves to a completely different window. That latter point makes me wonder whether Firefox does something "odd" when an element has focus.The CSS is as follows:
So, not a showstopper, but an annoyance that scrollbars keep appearing in Firefox.
i have a Databound Accordionmenu with hyperlinks in its content template. What i wanna do is adding `onMouseOver` animation to these hyperlinks. Normally i would do somthing like :
I got requirement to create a accordion menu which will have different menus for different site collection. So, i created this Accordion which is in bind with site map file. But my Sitemap file has multi-level nodes, here my accordion is displaying only single level menus.
I am creating Dynamic UserControls with Dynamic AjaxControls. Then I store each of the UserControls in a Collection. On Postback I recall the UserControls in the collection to Re-Create the interface. It works if i only use Standard HTML controls but does NOT work with AJAX controls. I get this error on PostBack Extender controls may not be registered after PreRender. So far I have tried the following:
MyBase.OnPreRender(e) in Page and Usercontrol EnsureChildControls() in the OnInit Added ScriptManager to the MasterPage None of this stuff is working... If I re-create all the controls including the ones inside the usercontrol then i get no error however it takes forever to do a postback as opposed to just recalling the collection of UserControls.
i am creating a menu which has the below structure. what i would like to do is use a jquery ui accordion control.
can i place an accordion in an accordion?... i.e. menu 1 expands out in an accordion and then the sub menus in menu 1 need to expand out in another accordion.
menu 1 sub menu of the menu 1 menu item menu item menu item sub menu of the menu 1 sub menu of the menu 1 menu 2 sub menu of the menu 2 menu item menu item menu item sub menu of the menu 2 sub menu of the menu 2
I need a help in creating a vertical oriented Menu control with dynamic url's set in there Navigate Url property.Also i need to set the menu items as enable/disable in two different modes say edit/new.
Adding an Accordion only creates the outer most tags. I then have to add the headercssclass, contentcssclass etc. info. Then i have to manually add <Pane> tags, and then add Accordion Pane controls. Using VWDE 2008, is there a way to customize the control so that adding the Accordion control automatically adds this other info? Ideally with 2 Accordion Panes to start, but even just getting the various Accordion properties and the <Pane> tags added would make it much more <Pane>less!
I m using ajax accordion control to display the information of my company branches. Now it always displays one pane at a time. But i want that it should not display any pane at a time. Only a single pane should be displayed when user click on header of that pane.