Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1195
  • Last Modified:

AjaxToolkit CollapsiblePanelExtender ContentPanel style="overflow:hidden" Displays Blank Panel

I have 2 collapsible panels. The top panel presents expanded on page load, while the second one is collapsed. When the page loads, or whenever there is a postback, the second panel expands into the first panel. The second panel has several subpanels and various other controls including grids and command buttons.
I added style="overflow:hidden" to the panel content of the second panel but now all the contents of the second panel do not display at all. It solved the flickering, but does not display anything.

Does anyone have any idea what is wrong here?
0
ChiBella
Asked:
ChiBella
1 Solution
 
ChiBellaAuthor Commented:
Found my problem and thought I'd share what that problem was in case anyone else encounters it.
I had a <div> directly underneith the contentpanel of the 2nd collipsible panel. The div contained "position:absolute". I changed this to "position:relative" and my problem went away.

#PanelMainDiv
{
      left: 5%;
      float: left;
      position: relative;
      
}
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now