AJAX :: Nested Accordion Control Not Working

Feb 22, 2010

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:

[Code]....

View 1 Replies


Similar Messages:

AJAX :: FileUpload Inside Accordion Control Within Update Panel Not Working

Jul 31, 2013

In my WebForm I hv used an accordion and this accordion is in an UpdatePanel with UpdateMode="Conditional" .

In that accrdion , in last pane i hv a fileupload - when i select a file and click upload button then always the fileupload control has no file and it returns false everytime .

I have written trigger in UpdatePanel also still it doesn't work. Without updatepanel fileupload control works properly, this problem arise after i use UpdatePanel...

<asp:UpdatePanel ID="Acc_UpdatePanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<div id="acc" runat="server" style="position: inherit; height: auto;">
<div class="clear">
</div>
<div id="basic-accordian" style="border-radius: 4px;">

[Code] .....

View 1 Replies

AJAX :: ToolkitScriptManager Extender Control Not Working In Nested Master Pages

Jan 6, 2010

I am using v3.0.31106.0 of the AjaxControlTookkit.dlll. I have nested master pages. The site Master page has the only ScriptManager & holds the oneColumn & twoColumn master pages. The twoColumn master page holds content pages. In the content page there is a update panel.
Here is my Site Master Page:

[Code]....

Here is the Nested Master Page:

[Code]....

Before the update page I put the ToolkitScriptManager. In the update panel I put a button with a ConfirmBox Extender. I then get an error saying Only one instance of a ScriptManager can be added to the page. If I take the ToolkitScriptManager out this error goes away but then I get an error saying The ConfirmBox Extender is not recognized.According to all the posts I have read the last 24hours the master page should have the ScriptManager and the content page should hold the toolkitScriptManager.Here is my content page:

[Code]....

Here is the web.config file:

[Code]....

View 7 Replies

AJAX :: Nested Ajaxtoolkit Accordion Not Sliding

Nov 13, 2010

I am creating a nested accordion in the code behind which is populated from my data table. The requirenment is

1. Main Accordin - create department Panes

2. sub accordin - Each department pane has a accordin in the contnet are.

3. sub accordin panes - people from that department show up as panes in sub accordin.

I was able to impelment this model but the problem is that the sub accordin ( with people) would not slide. First one is opened by default and i see hand on the other header panes but they dont slide (up and down). They do have a content though. P.S - if i implement the same nested according in aspx it works fine. My code

[Code]....

Update - I found that I get "Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.Parameter name: element" javascript error when i try to create the nested accordin.

[Code]....

View 1 Replies

AJAX :: Nested Accordion Menu With Submenu Using Sitemap

Mar 24, 2014

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.

View 1 Replies

AJAX :: Create Databound Nested Toolkit Accordion Programatically (In Code Behind)?

Aug 24, 2010

I have this so far but kind of stuck on how to do it programtically if I'm using header and content templates I have a xmldatasource..In a nutshell at what point in my code do I need to create a new accordion? does it need to be in the item_databound handler?

[Code]....

[Code]....

View 3 Replies

AJAX :: Accordion Is Not Working?

Mar 1, 2011

Accordion is not working?

View 1 Replies

AJAX :: Repeater - Accordion Not Working

May 13, 2010

I have a repeater that contains an accordion. Inside the accordion, I have contents that consist of a <table> and text boxes, labels, buttons, the whole shooting match. When my code runs the contents all load no problem. The only problem is that my accordion is not working. There is no accordion function and all panes are expanded and I can't un expand them. Below is my source code.

[Code]....

View 2 Replies

AJAX :: Accordion Panel Is Not Working On Page?

Feb 14, 2011

i write following code for accordion panel but its not open on page .....

<asp:Accordion ID="Accordion1" runat="server"
BorderColor="Black" RequireOpenedPane ="false" SelectedIndex ="-1"
HeaderCssClass="acco_header"
style="margin-left: 151px; top: 387px; left: 47px; position: absolute; height: 175px; margin-top: 0px;"
Width="322px" >
<Panes>
<asp:AccordionPane ID="AccordionPane1" runat="server" HeaderCssClass ="acco_header" ContentCssClass="acco_content" Width="100" Height="28" BorderColor="Black">
<Header>
Forgot Password
</Header>
<Content>
<h4>E-mail:</h4><asp:TextBox ID="text1" runat ="server" Width="150" Height="25"></asp:TextBox><br /><br />
<asp:Button ID="Button3" runat ="server" Text ="Submit" OnClick = "Button3_Click" BackColor="#FFDB70"/>
</Content>
</asp:AccordionPane>
</Panes>
</asp:Accordion>

View 1 Replies

AJAX :: Accordion Panes Not Working In Internet Explorer

Feb 24, 2010

I am creating an accordion dynamically through aspx.cs file. There is a subaccordion inside each accordion pane. I am seeing that if there are 10 or more accordion panes in the root accordion, then I can only expand first 4 or 5 panes. Nothing happens when I click on other panes. This is happening in IE8, tried on three different machines. I don't see this problem with Mozilla, it can open as many panes as possible, I have tried with 20 panes in mozilla.

View 1 Replies

AJAX :: Accordion Inside CollapsiblePanelExtender - Internet Explorer Not Working

Feb 21, 2010

Imports System
Imports System.Data
Imports System.Data.OleDb
Imports System.Web
Imports System.Web.UI
Imports System.Xml
Imports System.IO
Imports System.EventArgs
Imports System.Web.UI.HtmlControls
Imports System.Web.UI.WebControls
Protected Sub Page_Load(ByVal
sender As
Object,
ByVal e
As System.EventArgs)
Handles
Me.Load
Dim div1, divana
As
New HtmlGenericControl("div")
Dim lbl
As
New Label
Dim imgbt
As
New ImageButton
Dim acp
As
New AjaxControlToolkit.CollapsiblePanelExtender
Dim aacc
As
New AjaxControlToolkit.Accordion
Dim aap, aap2
As
New AjaxControlToolkit.AccordionPane
Dim cnt
As
New ContentPlaceHolder
Dim pnl
As
New Panel
Dim pnlana
As
New Panel
Dim cssUrl
As
String
Dim cssLink
As
New HtmlLink()
Dim i,n,k,p
As
Integer
Dim bag
As
New OleDbConnection
Dim s
As
String
'stylesheet add
cssUrl = Server.MapPath("daban.ccs")
cssLink.Href = cssUrl
cssLink.Attributes.Add("rel",
"stylesheet")
cssLink.Attributes.Add("type",
"text/css")
Page.Header.Controls.Add(cssLink)
'---------- find content
cnt = DirectCast(Me.Master.FindControl("ContentPlaceHolder1"),
ContentPlaceHolder)
divana.ID = "Divana"
divana.Attributes("Style") =
"padding:20px"
'---- 1. group
div1 = New HtmlGenericControl("div")
div1.ID = "divduyana"
div1.Attributes("Style") =
"padding-bottom:20px;color:#5377A9;font-family:Arial, Sans-Serif;font-weight:bold;font-ize:1.5em;"
lbl = New Label
lbl.ID = "lblana"
lbl.Text ="DUYURULAR..."
div1.Controls.Add(lbl)
divana.Controls.Add(div1)
'-----1 group end
n=3 ' normally it is getting from database
For i = 1
To n
'---- 2 group start
pnl = New Panel
pnl.ID = "Duy" + i.ToString() +
"_1"
pnl.Width = 600
pnl.Height = 30
pnl.HorizontalAlign = HorizontalAlign.Center
'image
div1 = New HtmlGenericControl("div")
div1.ID = "divimg" + i.ToString()
div1.Attributes("Style") =
"float: left; vertical-align: middle;"
imgbt = New ImageButton
imgbt.ID = "imgbt" + i.ToString()
imgbt.ImageUrl = "~/image/expand_blue.jpg"
imgbt.AlternateText = "Detaylari Goster..."
div1.Controls.Add(imgbt)
pnl.Controls.Add(div1)
'label
div1 = New HtmlGenericControl("div")
div1.ID = "divlblduy" + i.ToString()
div1.Attributes("Style") =
"float: left;"
lbl = New Label
lbl.ID = "lblduy" + i.ToString()
lbl.Text = "lbl_text balabala"
lbl.ForeColor = Drawing.Color.Red
div1.Controls.Add(lbl)
pnl.Controls.Add(div1)
' label detay goster
div1 = New HtmlGenericControl("div")
div1.ID = "divlbldet" + i.ToString()
div1.Attributes("Style") =
"float: rigth;"
lbl = New Label
lbl.ID = "lbldet" + i.ToString()
lbl.Text = "(Detaylari Goster...)"
lbl.ForeColor = Drawing.Color.Gray
div1.Controls.Add(lbl)
pnl.Controls.Add(div1)
divana.Controls.Add(pnl)
'----- 2 group end
'----- 3 group start
pnl = New Panel
pnl.ID = "Duy" + i.ToString() +
"_2"
pnl.Width = 600
' accordino
aacc = New AjaxControlToolkit.Accordion
aacc.ID = "Acc" + i.ToString()
k=2 ' normally coming from database
For t = 1
To
k
aap = New AjaxControlToolkit.AccordionPane
aap.ID = "Apane" + i.ToString() +
"_" + t.ToString()
aap.HeaderContainer.Controls.Add(New LiteralControl("anyname"))
aap.ContentContainer.Controls.Add(New LiteralControl("anycontent"))
aacc.Panes.Add(aap)
Next
aacc.HeaderCssClass = "accordionHeader"
aacc.ContentCssClass = "accordionContent"
pnl.Controls.Add(aacc)
acp = New AjaxControlToolkit.CollapsiblePanelExtender
acp.ID = "acp" + i.ToString()
acp.TargetControlID = "Duy" + i.ToString() +
"_2"
acp.ExpandControlID = "Duy" + i.ToString() +
"_1"
acp.CollapseControlID = "Duy" + i.ToString() +
"_1"
acp.Collapsed = True
acp.TextLabelID = "lbldet" + i.ToString()
acp.ImageControlID = "imgbt" + i.ToString()
acp.ExpandedText = "(Detaylari Gizle...)"
acp.CollapsedText = "(Detaylari Goster...)"
acp.ExpandedImage ="~/image/collapse_blue.jpg"
acp.CollapsedImage = "~/image/expand_blue.jpg"
acp.SuppressPostBack = True
'acp.SkinID = "CollapsiblePanelDemo"
cnt.Controls.Add(acp)
div1 = New HtmlGenericControl("div") ' this is just i add
extra
div1.ID = "divara" + i.ToString()
div1.Attributes("Style") =
"float: left;"
divana.Controls.Add(div1)
divana.Controls.Add(pnl)
Next
'----3 group end...
cnt.Controls.Add(divana)
End
Sub
<ASPX code is>
<%@
Page
Language="VB"
MasterPageFile="~/tiyap.master"
AutoEventWireup="false"
CodeFile="duyurular.aspx.vb"
Inherits="duyurular"
title="Untitled Page" %>
<%@
Register
assembly="AjaxControlToolkit"
namespace="AjaxControlToolkit"
tagprefix="ajaxToolkit" %>
<asp:Content
ID="Content1"
runat="server"
contentplaceholderid="ContentPlaceHolder1">
<ajaxToolkit:ToolkitScriptManager
ID="ToolkitScriptManager1"
runat="server">
</ajaxToolkit:ToolkitScriptManager>
</asp:Content>
there is no error...
code is working on mozzila firefox, like what i want
<div>
- collespand 1
-----accordion 1
-------acc pane 1
-------acc pane 2
- collespand 2
-----accordion 2
-------acc pane 3
-------acc pane 4
- collespand 3
-----accordion 3
-------acc pane 5
-------acc pane 6
<div>
but when i run this code inside internet explorer any version ...
result became
- collespan1
---acc 1
------ accpane1
------accpane2
----------collespan2

all going inside collespan1? what is the problem? why firefox is working ok, internet explorer not. it is a bug or i write something wrong

View 6 Replies

JQuery :: Use A Ui Accordion Control / Place An Accordion In An Accordion?

Nov 2, 2010

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

View 1 Replies

AJAX :: How To Add Accordion CSS File In Content Page When Working With Master Pages

Apr 25, 2013

i want to apply css on accordion control but since the page where i m using is already associated with master page...

when i go to my website page..i use attach style sheet and then ok..but style sheet doesn't get attach...how should i do that..?

View 1 Replies

AJAX :: CollapsiblePanel Not Working In Multi Level Of Nested Gridview?

Aug 2, 2010

Ques 1. I am pasting only excerpts of my panel code (limited length here) within which I have 3 levels. The collapsible panel works fine till level 2 but when I am clicking on level 3 it shows for a second and collapses back to level 2. The collapsible doesnt work on panel pnlUserAccess below.

Ques 2. Can I make collapsible panel work on particular button click or image click?. As when I just put to to 2 levels I have to edit within the gridview and as soon as I click on the checkbox to edit the panel collapses.. I need to just give it a tree view style of appearance.

Ques 3. Can I also make the collapsible panel enable on read mode and disable on edit mode (if there is no possiblity for Ques 2)how to make it work. Just to be more specific on the code.

[Code]....

View 1 Replies

AJAX :: Is It Possible To Customize The Default Accordion Control In The Control Toolkit

Apr 21, 2010

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!

View 3 Replies

AJAX :: Using Ajax Accordion Control To Display The Information Of My Company Branches?

Aug 14, 2010

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.

View 2 Replies

AJAX :: Video Tuturiol For The Ajax Accordion Control

Feb 11, 2011

I followed a video tuturiol for the Ajax Accordion control and also created it manually using VWD2010ExpressAlthough the source code I downloaded works fine, mines dosen't. The links for the panes will not respond. Everything else seems to be ok.

<body>
<form id="form1" runat="server">
<div id="container">
<asp:ScriptManager ID="ScriptManager1" runat="server"/>
<div>
[code]...

View 2 Replies

AJAX :: Accordion Control Bug With VS 2008?

May 31, 2010

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!

View 5 Replies

AJAX :: Accordion Control Not Expand?

Dec 31, 2010

I have this accordion control but it not expand

[Code]....

[Code]....

View 3 Replies

AJAX :: Visual Studio 2008 And Auto Generated Code For Accordion Accordion Extender?

Mar 2, 2011

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

[Code]....

[Code]....

View 1 Replies

AJAX :: Accordion Control Cannot Collapse Or Expand?

Mar 22, 2010

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.

[Code]....

View 9 Replies

AJAX :: Cannot Get Control Toolkit's Accordion To Work?

Jan 3, 2010

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.

View 18 Replies

AJAX :: Accordion Control Doesn't Work?

Oct 9, 2010

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:

[Code]....

View 6 Replies

AJAX :: Use Accordion With Menu In User Control

Oct 22, 2010

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?

View 3 Replies

AJAX :: Accordion Control With Panel - Add Update?

Aug 22, 2010

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.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved