AJAX :: CollapsiblePanelExtender Does Not Work On Load?

Jun 23, 2010

I have a page with two CollapsiblePanelExtender controls on it. The page is a multi-stage process which posts back to itself several times as the user steps through the process. All the page controls, includung the CollapsiblePanelExtenders are in an update panel and the page is derived from a master page.

When the page first loads, the CollapsiblePanelExtenders don't work properly - an open one will close on clicking, as epxected, but they only re-open intermittently and quickly reach a state where they won't re-open at all. However, once a user has initiated a postback by clicking on a form button, they work fine from there on in.

I can't work out what's causing this problem. Simply making the form post back to itself on load doesn't do anything, and neither does running the code that's initiated by the button click. I found - quite by accident - that inserting a StartupScript with an error (any error at all - just insert the the letter "a" in a script tag will do) into the page fixes the problem! But obviously that's not a satisfactory solution.



ADVERTISEMENT

AJAX :: CollapsiblePanelExtender Not Work In IE?

Jun 9, 2010

in DotNetNuke module,i tried CollapsiblePanelExtender, it work fine with FF,it alway explan with IE?

View 1 Replies View Related

CollapsiblePanelExtender Doesn't Work With UserControl?

Mar 2, 2010

Iam trying to use a UserControl named CheckBoxControl as value for the ExpandControlID/CollapseControlID attributes of the CollapsiblePanelExtender. It works fine when I use a normal CheckBox instead.

<uc:CheckBoxControl ID="ucHaftpflicht" runat="server" OnCheckedChanged="UpdateStatus" ControlLabel="Haftpflicht" />
<asp:Panel ID="HaftpflichtPanel" runat="server">
</asp:Panel>
<asp:CollapsiblePanelExtender ID="CollapsiblePanelExtender" runat="server" CollapseControlID="ucHaftpflicht.CheckBox" ExpandControlID="ucHaftpflicht.CheckBox" TargetControlID="HaftpflichtPanel" />

When I run the site, most ajax controls on my site disappear and I get following errors in firefox script error console:

Fehler: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.
Fehler: Sys.ArgumentException: Failed to find element "ucHaftpflicht.CheckBox"
Parameter name: CollapseControlID

View 1 Replies View Related

AJAX :: CollapsiblePanelExtender With Two Checkboxes

Sep 16, 2009

I have a problem using checkboxes with CollapsiblePanelExtender. I have two checkboxes, which are Mutually Exclusive.(let's name them cbx1 and cbx2). if cbx2 is checked, panel extends. if it is unchecked, the panel collapse. But my situation is this. When i have cbx2 checked and the panel is extended, and i Check cbx1, because they are mutually exclusive, cbx2 uncheck by himself, but the panel doesn't collapse. This is my problem. How do i make the Panel to collapse?

View 4 Replies View Related

AJAX :: CollapsiblePanelExtender And Iframe?

May 8, 2010

when i put Collapsible panel extender inside iframe(html control) i get this error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element iam using VS 2008

View 3 Replies View Related

AJAX :: Setting Up CollapsiblePanelExtender?

Dec 25, 2010

On the code below, I am having a problem setting up a CPE. When I run the program it does not look like the tutorial. When it collapsis nothing can be seen and the collapased text is not visable anywhere. On the tutorial there is a bar and arrow. Is that something I have to create seperately? Also, what kind of buttons should I use to toggel the panel. I would appreciate it if someone could post code showing how this works.

[Code]....

View 2 Replies View Related

AJAX :: CollapsiblePanelExtender ClientState?

Jun 25, 2010

I used CollapsiblePanelExtender in a web form and would like to keep its state either collapsed or expanded by user. When user navigates away from the page and then comes back a little bit later, he still see the panel collapsed or extended. codes:formA.aspx:

<asp:Panel ID="panelPetInfoExtender" runat="server" Width="100%">
<span>Pet Information</span>
<asp:Image id="img1" runat="server" ImageUrl="collapse_blue.jpg" />
</asp:Panel>
<asp:Panel ID="panelPetInfo" runat="server">MY PET</asp:Panel>
<asp:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="panelPetInfo" EnableViewState="true" ExpandControlID="panelPetInfoExtender" CollapseControlID="panelPetInfoExtender" Collapsed="true"
ImageControlID="img1" ExpandedImage="collapse_blue.jpg" CollapsedImage="expand_blue.jpg" />

View 8 Replies View Related

AJAX :: CollapsiblePanelExtender Extending?

Sep 30, 2010

I use two different collapsiblepanelExtenders with similar colapsedControlID which is not a matter here. ince both of them working but with some misbehaviour, for example if the first one is open and I click wherever on it , the second one extends. also by clicking on the second one it collapses.That means that some how an event triggers and makes them collapse or extend.I have a kind of editing panel inside each extandedPanel which are used to update something on the page. the problem is that by clicking on eachtextbox or fileupload, the second panel collapses again. before any other action. So that I can not enter the textboxes. I can do that if I use tab button on keyboard. but that sucks really.

[Code]....

it might be because the second extender is inside the collapsible panel itself. but why it doesn't stay in extended state?

View 1 Replies View Related

AJAX :: CollapsiblePanelExtender On Chrome?

Feb 2, 2011

I am using CollapsiblePanelExtender with following markup:

[Code]....

The expanded panel contains a table. This works fine in Firefox and IE. However, when the panel is expanded in Chrome, no content is shown or rendered in the expanded state.What could be going wrong here?

View 1 Replies View Related

AJAX :: CollapsiblePanelExtender Not Working?

Feb 2, 2010

I have 4 components in my website .

1.) A.aspx
2.) B.aspx
3.) c.ascx
4.) d.js

here is the sample code of my c.ascx

<form
id="form1"
runat="server">

[code]...

View 1 Replies View Related

AJAX :: CollapsiblePanelExtender - Cut Off After Postback?

Oct 30, 2009

I have a CollapsiblePanelExtender and below a GridView. I click the expand Button and the Panel appears. When a press a PostBack button on the page, either one in the Panel or e.g. one of the Command-Buttons in the GridView, the Panel is cut off some pixels at the bottom, causing the inlayed Textbox not to be completely displayed. Source-Code before and after the postback are identical, so it has to be a JavaScript-Browser issue.

View 4 Replies View Related

AJAX :: CollapsiblePanelExtender On Chrome?

Jan 14, 2011

have used a CollapsiblePanelExtender on my page.It works fine in IE but when I open it in chrome. It doesn't show contents inside CollapsiblePanelExtender. I am using ajax toolkit with asp.net 3.5

View 4 Replies View Related

AJAX :: Collapsiblepanelextender And A TabContainer With Two Tabs?

Jan 6, 2011

I have a Collapsiblepanelextender and a TabContainer with two tabs. the code works fine in FF and Chrome but fails in IE8. I am using VS2008 .Net 3.5 and the latest AjaxToolkit.

I am trying to control the collapsible behavior through tab clicking using javascript. here is the code to replicate my problem.

The aspx.cs code:

[Code]....

View 1 Replies View Related

AJAX :: CollapsiblePanelExtender Always Expanded In Formview?

May 21, 2010

I have several CollapsiblePanelExtenders in my formview (both EditTemplate and ItemTemplate). Everything works great, except that they always expand when I move from record to record. I'd like them to keep their previous state (collapsed or expanded). How can I do this with the Formview? Outside the Formview.

View 6 Replies View Related

AJAX :: CollapsiblePanelExtender Extra Div Wrapper?

Jul 15, 2010

I have this CollapsiblePanelExtender (below) the problem is that in firefox it gives a horizontal scroll bar under the control which has to expand.

[Code]....

Below is the generated HTML

[Code]....

If I remove the "overflow-y:hidden" from the generated div then the scroll bar goes away, which is what I want....

View 3 Replies View Related

AJAX :: CollapsiblePanelExtender With A ModalPopupExtender Window?

Jan 3, 2011

I have a page which consists of a CollapsiblePanelExtender. To be specific, I have placed all my controls inside a panel and specified the TargetcontrolID as this panel and this is working perfect..Now, I just included a ModalPopupExtender control in the same page and specified the PopUpControlID as this same panel. Query1: Can CollapsiblePanelExtender and ModalPopupExtender work together?

I have also specified the CSS for the panel and for ModalPopupExtender. Have attached a part of the aspx page below.

[Code]....

View 1 Replies View Related

AJAX :: Using Multiple CollapsiblePanelExtender On One Control

Dec 3, 2009

I am using multiple CollapsiblePanelExtender on one control,and my required is two CollapsiblePanelExtender should always close on page load whenever i have open last time.I have used CollapsiblePanelExtender.Collapsed=false,CollapsiblePanelExtender.CollapsdSize=0.

View 1 Replies View Related

AJAX :: Close CollapsiblePanelExtender Programmatically?

Feb 2, 2011

I've read in a few places that this should close a collapsible panel:

To open: cpe1.Collapsed = true; cpe1.ClientState = "true";
To close: cpe1.Collapsed = false; cpe1.ClientState = "false";

But it doesn't seem to work from me...

View 1 Replies View Related

AJAX :: CollapsiblePanelExtender Should Disable After Login?

Aug 5, 2008

I am using CollapsiblePanel for login. It has 2 text boxes( for user name and password) and one button.

It works perfectly fine.

what I want to do is, if user name and password matches , CollapsiblePanel should stop expanding even user tries to expand it. ( just like you can see on www.ilaaka.com here on left side )

Also, text "LOGIN" should get changed to LOGOUT . when user clicks on LOGOUT, again
CollapsiblePanel should get back to its normal state.

Here is my code:

<div align="left">
<asp:ScriptManager ID="ScriptManager1" runat="server"/>
<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1"
Collapsed="true" TextLabelID="Label1"

[Code]....

View 8 Replies View Related

AJAX :: Display CollapsiblePanelExtender But It's Not Working?

Dec 5, 2010

I am using this to display CollapsiblePanelExtender but it's not working ad I dont know why? there is no error and it workes when i set theCollapsed to True or False but not working when I run and want the user to click roCollapsed or Expand?

<asp:CollapsiblePanelExtender ID="collapsibleSkills" runat="server" Collapsed="False" TargetControlID="panelSkills" CollapseControlID="lblSkills" ExpandControlID="lblSkills" CollapsedText="[+] Skills :" ExpandedText="[-] Skills :" TextLabelID="lblSkills"
/>

View 2 Replies View Related

AJAX :: CollapsiblePanelExtender Content Always Open?

Jul 1, 2010

I have a CollapsiblePanelExtender, and although the attribute Collapsed="true", the content panel is initially expanded.

When I click on the associated Header Panel, the Header changes (some text and an image are changed), and the content panel remains expanded. However when I click on the header again, the header changes (back to initial state) but the content panel momentarily collapses and then expands again.

Furthermore, I decided to copy Joe Steigner's demonstration word-for-word, and I get exactly the same result as before!!

View 3 Replies View Related

AJAX :: CollapsiblePanelExtender.Collapsed Proberty?

Jun 28, 2007

I'm using CollapsiblePanelExtender in my application. I need to retreive its Collapsed proberty during any call back by the code. Always it is equal the initial value. And wether I expand or collapse it it has the same initial value.

View 3 Replies View Related

AJAX :: CollapsiblePanelExtender Inside An Asp:Repeater

Mar 23, 2010

I have following code:

Main.aspx:

[Code]....
So here I just make my repeater and put a custom control in it.

Message.aspx:

<asp:Panel ID="CommentsPanel" runat="server">

View 3 Replies View Related

AJAX :: CollapsiblePanelExtender And Null Error?

Dec 28, 2009

We are using CollasiblePanelExtender Ajax control. When opening and closing panel it makes a call to server and puts a value in Session. After about the second click we see this error "AjaxControlToolkit.ControlBase.onsubmitCollection.length is null or not an object."........also error appears spradically when updating.........users say they can update data a field box at a time and then hit update button with no error.........Also this only happens on our Prod box and no other environment.....Its a Intranet site with a small user base of 50-100 users......

View 4 Replies View Related

AJAX :: Nest Table Within CollapsiblePanelExtender?

Dec 28, 2009

I'm trying to nest a table within a collapsible panel extender but I can't get the panel to collapse/expand with the table in it. If I test the panel by sticking a label in it, it collapses/expands just fine.

Here's the code....

[Code]....

View 2 Replies View Related

AJAX :: CollapsiblePanelExtender Are Open For A Second When Pageloads?

Jan 20, 2010

I have used CollapsiblePanelExtender in my web page. whenever I load the page I can see the panels open for a second and then they all close. I want to start the page with them closed.

View 3 Replies View Related

AJAX :: Using Validation Group With CollapsiblePanelExtender?

Apr 28, 2010

I have one small issue with my page, i have two CollapsiblePanelExtender in my page and some required field validators are used for the textbox controls that are there within the CollapsiblePanelExtender.And i have also assigned two different validationgroups for all the validators.

Say if first validation group fails to validate then i want to expand the first CollapsiblePanelExtender1, similarly if second validation group fails then i want to expand second CollapsiblePanelExtender2.

View 6 Replies View Related

AJAX :: How To Save The State Of A CollapsiblePanelExtender To A Cookie

May 17, 2010

I have a page that has a few controls inside a CollapsiblePanelExtender. What i need to do is save the state of the CollapsiblePanelExtender so that its easier for the user when they comeback to the page.

How would i go about saving the state of the CollapsiblePanelExtender to a cookie each time its expanded or collapsed?

View 4 Replies View Related

AJAX :: CollapsiblePanelExtender Not Showing Content In Firefox?

Jul 17, 2007

I can't seem to get the CollapsiblePanelExtender to show content in Firefox and the Expand/Collaps image won't show in Opera but it works fine in IE. This is my second time around with the Ajax Tool Kit and I'm really hoping to be productive but I spend way too much time on these seemingly silly type of issues. What could be causing this? Is there something I'm missing?

View 1 Replies View Related

AJAX :: Dynamically Collapse And Expand A CollapsiblePanelExtender

Mar 3, 2007

Is there a way to dynamically Collapse and Expand a CollapsiblePanelExtender through code? I.e. the codebehind. I have seen several posts with a similar question, but have not seen a solution for it yet, nor can I find anything on Codeplex.

Logically, the 'Collapsed'-property only seems to work on initialization.

View 11 Replies View Related







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