Accordion in master page disappears

Last post 11-21-2007 7:42 AM by bbastiaensen. 12 replies.

Sort Posts:

  • Accordion in master page disappears

    11-07-2006, 5:59 PM
    • Loading...
    • rossimr
    • Joined on 07-08-2003, 2:32 PM
    • Posts 3

    I cannot get the accordion to work correctly with the new beta2 release of the ajaxtoolkit in a masterpage.  The problem is this:  When first loading the page, the panes flicker, and I can see that they are there, but then they disappear.  Any idea what could make them completely disappear?  Visible is set to true on everything and I get no errors or problems compiling.  At design time there is no content in the panes, but at runtime I fill in the content and like I said I can see it there for a split second.

     This worked for sure with the last release of the ATLAStoolkit, not sure if it worked with the ajaxtoolkit beta1 release, I only had that installed for a few days.

  • Re: Accordion in master page disappears

    11-08-2006, 12:56 PM
    • Loading...
    • rossimr
    • Joined on 07-08-2003, 2:32 PM
    • Posts 3
    This appears to be related to IE7, it works in IE6!  Any insight would be appreciated!  thanks.
  • Re: Accordion in master page disappears

    11-08-2006, 1:03 PM
    Answer
    • Loading...
    • rossimr
    • Joined on 07-08-2003, 2:32 PM
    • Posts 3
    ok, I found another post with the answer:  you cannot have a height attribute on the div surrounding the Accordion in IE7.  I hope this issue will be resolved in a future release.
  • Re: Accordion in master page disappears

    11-11-2006, 4:09 PM
    • Loading...
    • CVM
    • Joined on 11-11-2006, 6:25 AM
    • New Albany, IN
    • Posts 30

    I am having an issue with the headers being displayed and functioning properly in IE7.

     http://ltc.cvmwebportal.com/BrickProducts.aspx

     That is the link if you want to take a look.  After hitting the headers multiple times, it will go back to normal, but there are spaces in between some headers, and the last header disappears sometimes.  I really need this fixed, it works fine in FireFox.

     

    Michael S. Flynn
  • Re: Accordion in master page disappears

    11-14-2006, 3:38 PM
    • Loading...
    • volinnp
    • Joined on 11-14-2006, 8:29 PM
    • Posts 3

    I was only able to display my accordion by surrounding it in the <div> tag with the style height set to 100%.  I have encountered the issue where the accordion disappears from the masterpage on postback.  It displays only for a split second and then it's gone, as if I had some script setting its' visibility to false, but I DON"T.  What is more interesting is that I noticed, in IE7, if, after the control has failed to become visible, I move to another tab and click a link on that page and then go back to my site on the previous tab, the accordion will be displayed.  Steps to reproduce:

    In IE7:

    1. navigate to page with accordion control
    2. perform action that causes a postback
    3. when page refreshes, notice that Accordion control is no longer visible
    4. Open new tabbed window and navigate to any page
    5. return to previous tabbed window with Accordion control
    6. Notice that Accordion control is now visible.
  • Re: Accordion in master page disappears

    11-16-2006, 8:59 AM
    • Loading...
    • volinnp
    • Joined on 11-14-2006, 8:29 PM
    • Posts 3

    As an addition, I can also make the control visible by double clicking the window header to maximize or restore down.  If I do this, the window repaints and shows my control.

  • Re: Accordion in master page disappears

    11-16-2006, 11:16 AM

     

    Try setting the height for both the Div and the accordion control itself. This seems to work for me in IE7, but still get an issue with the resize with databound content as the control seems to set itself to a default height.

     

    James

     

  • Re: Accordion in master page disappears

    11-17-2006, 7:49 AM
    • Loading...
    • volinnp
    • Joined on 11-14-2006, 8:29 PM
    • Posts 3
    Thanks James.  To resolve this, I did, in fact, need to set the height property in the Page_Load event.  By setting it to a percentage value of 100, the control remains visible.
  • Re: Accordion in master page disappears

    06-16-2007, 1:34 PM
    • Loading...
    • ddrake87
    • Joined on 06-14-2007, 1:19 PM
    • Posts 4

    I believe any markup tag has a fixed height surrounding the accordion will cause it to disappear, and not just divs.

  • Re: Accordion in master page disappears

    07-16-2007, 7:39 AM
    • Loading...
    • pep_dj
    • Joined on 07-16-2007, 11:27 AM
    • Posts 25

    I think I solved it.

    Try to put your accordion control inside a div and set to it the width you want:

    <div style="width:100%">

        <cc1:Accordion ID="ac1" runat = "server" .......>

        </cc1:Accordion> 

    </div>

    IT WORKED FOR ME! Cool
     

  • Re: Accordion in master page disappears

    08-07-2007, 12:07 PM
    • Loading...
    • alexcher
    • Joined on 08-07-2007, 3:56 PM
    • Posts 1

    Man, you're my hero!!!

    I spent half a day trying to understand what is wrong with my code...

    IT WORKED 4 ME 2!!!

    THANKS A LOT! 

     

     

     

  • Re: Accordion in master page disappears

    11-12-2007, 6:14 PM
    • Loading...
    • Waheedi
    • Joined on 03-02-2007, 8:28 PM
    • Jordan
    • Posts 58

    try to change the autosize atribute to fill Autosize="Fill"

    Cheers

    Waheed Barghouthi
  • Re: Accordion in master page disappears

    11-21-2007, 7:42 AM
    • Loading...
    • bbastiaensen
    • Joined on 02-10-2006, 3:22 AM
    • Turnhout Belgium
    • Posts 12
    Giving the Width property of the accordion control a value did the trick for me.
Page 1 of 1 (13 items)
Microsoft Communities
Page view counter