I have one GridView. i want to add Accordion in it. at run time in accordion header i want the detail of Category and in Content of that accordion i want detail of subcategory (related to Category)
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 want to create an accordion inside a gridview with the following functionality:
The user will only see one field of the gridview initially, the ProductCategoryID. When the page loads it will only query the ProductCategoryID and this will be the only field displayed.
Next when the user clicks on the accordion to expand it inside the gridview I would like to query the database to get all Products that are part of the ProductCategory. I will query using the ProductCategoryID that is being displayed.
I need to do this for performance issues. The main thing I am looking for is how to query the database once the user expands a given ProductCategoryID.
but now I think of it one thing I need to know: when you bind an accordion to a dataset will it create one pane for each record returned? It might be better to put the gridview inside the accordion. I'm willing to do either, as long as it works
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 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
[Code]....
My code after pressing space between the properties of the Accordion
Been trying to find documentation on the accordion control. Was wondering if it's possible to have all the Accordion Panes collapsed when the web page loads?
anyone has encountered this 'bug'...i was working with the Ajax Toolkit with vs 2008 and noticed that when i was in Split design or source view, any changes i made to the accordion tags i.e. properties, etc...it vs would automatically duplicated the whole entire accordion panel including all the content, header and accordianPanel....very annoying!
I'm new to the Ajax Control Tool Kits and I was trying to use the accordion control which is cool according to
its sample.
I followed this video tutorials, however after I created the simple demo, the accordion control doesn't collapse or expand. It just didn't respond to my clicks.
Following is my code and I've trimmed is as simple as possible.
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 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:
[Code]....
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 at [URL]. I do have the Bin folder in the project, so that's not the issue.
I am having quite a bit of trouble getting an accordion control to work. I downloaded the AJAX Control Toolkit (v 3.5), added the dll to my toolbox, and added an accordion control with the following code:
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 have an accordion control in my web site. And in one of the panels, I have a drop down list box where, when the user selects an item, it updates the labels right below the ddlistbox. I have it so that it maintains the scroll position when the ddlistbox has an autopostback, but it's very obvious that the whole page posts back. My question is, can I/should I just enclose the ddlistbox and the labels (and a couple of text boxes) in an AJAX update panel? I already have a ToolScriptManager (because of the accordion control), so I don't need to have another script manager, right? I can just put the update panel (with the other controls inside of it) right in the accordion panel, right? Then when the ddlistbox posts back it won't have the delay of the whole page posting back? And it'll still execute the event handler for the listbox selection change? Does this sound right? I'm just looking to make the post back "invisible", and I would like to do a partial postback of just these few controls.
Can anyone tell me why the following nested Accordion control does not work?
[Code]....
The error I kept getting is this:
DataSource 'sql1980s' for control 'acd1980s' doesn't exist Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: DataSource 'sql1980s' for control 'acd1980s' doesn't exist Source Error:
I am using accordion extender in my page which is binded with database. Now i want to keep a web user control in all the panes of Accordion Pane.
But i am not sure how can i do that. because Id of the controls inside the user control will be same.
I tried to keep the user control in item template of accordion, its working, but if i change some thing in one pane all the panes are getting affected.
I would like to use the accordion control to show different portions of an input form.I would like to use it to edit existing information. The code samples I have seenuse Eval data binding. Can I use the Bind method?
Is it possible to have the Accordion control to display horizontal instead of vertical? If so, how can I do this using the Accordion sample/demo on this site?
I want to display two different Gridviews with 3 columns on each GridView, on separate panes, but I want the panes to be side by side, so my users can compare the data.
I have a accordion control with 4 accordion panes. Initially when the page loads I expand the first accordion pane. Now if the user click the header on the first pane I need to collapse it. ( so in this case all the accordion panes will be collapsed).
Similarly is the user clicks on the header of any alraedy expanded pane, I need to collape that particular pane.
I have an accordian with 4 panes. These panes are designed to submit data. I default to the 1st pane. When I submit the 1st panel, the data is submitted to the database as expected. When I attempt to submit to the 3rd panel, the button does not fire the code behind. Is there a reason the 1st panel would work but not the 3rd? I've included the code used to call code behind for the 1st and 2nd panels.
This is the 1st pane that works...
<asp:Button ID="btnReferCompany" runat="server" Text="Submit" CommandName="SubmitCompanyReferral" /> Protected Sub SubmitCompanyReferral(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnReferCompany.Click
This is the 3rd pane that does not work...
<asp:Button ID="btnSubmitIdea" runat="server" Text="Submit" CommandName="SubmitIdea" /> Protected Sub SubmitIdea_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmitIdea.Click
I have taken one accordion inside that multiple accordionpane in that have taken mutiple linkbutton's inside panes but the thing is when i m clicking on any linkbutton of second pane.the page related to that is opening but the second pane get's collapsed and first one get's opened.
So, I want any of the linkbutton clicked of any accordionpane, that accordionpane should be remain opened.