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!!
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.
I'm wondering if anyone else has run into this problem; I have a collapsible panel extender to which I need to add some event handlers via javascript on page load:
This was working perfectly...*until* I split the page into the Master/Content page scenario. The control, the scriptmanager and the javascript are all declared in the content page right now. Suddenly, all my client side code comes up as the object being null or not found at the window.onload event. After 3 days of chasing this dragon, I added a test button which calls the same functionality which should run onload and when clicked, it has no trouble at all finding the object *after* the page has fully loaded. I've looked into almost all the posts on the web about this and I've found the question...but not the answer. I've played with the recommended fixes dealing with BehaviorID...the ClientID...the ctl100_control_object and ctl100$control$object names and I'm still dead in the water.Somehow, I have to get this code to run at the page onLoad event.
I have a series of collapsible panel extenders on my page and each time the page opens or postsback the panels open for a time and then close. Is there a way to prevent this?
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
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.
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:
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?
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?
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
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.
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.
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.
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?
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.
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.
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?
i am using CollapsiblePanelExtender and button to open pdf document using response.document in same form. CollapsiblePanelExtender works fine before i click button to open pdf document using response.write and once i click on button CollapsiblePanelExtender does not work.
That DataBinding does not return the path to the image using a method call so I test the GetHelpImage() method call and learn it does not return the path as text.
I know the path to the image is correct because I can paste the text into the CollapsiblePanelExtender CollapsedImage property and the control will find and display the collapsed image.
// this method call does not return the text for a path // so I am not even doing this correctly either. public static string GetHelpImage() { return "[known path to image]"; } // Image to test getting text from GetHelpImage() method call <asp:Label ID="TestGetImagePathLabel" runat="server" Text="<%# Eval( GetHelpImage() ) %>"/>
I'm doing this all wrong. Where's a blogged example of how to populate the control using an expression?