This is a migrated thread and some comments may be shown as answers.

Expand/Collapse Only After Mouse Moves in IE

4 Answers 61 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cyndie
Top achievements
Rank 1
Cyndie asked on 05 Aug 2010, 08:46 PM
I have a PanelBar with only one item that is above a Grid.  When I click on the panel bar to expand it, it expands under the grid and the grid doesn't move down until I move my mouse over the grid.  When I click on the bar to collapse it, it collapses, but the grid doesn't move back up until I move my mouse over the grid again. It doesn't seem to happen in Firefox, but does in IE7 & IE8.  Any ideas of how to prevent this from happening in IE?

Thanks!

4 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 06 Aug 2010, 12:25 PM
Hello Cyndie,

The following CSS should help:
.t-grid {
    zoom: 1;
}

Greetings,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Cyndie
Top achievements
Rank 1
answered on 06 Aug 2010, 01:19 PM
I added it, but it didn't make any difference, unfortunately.

Visual Studio.NET does give me the following error:

Validation (CSS 2.1): 'zoom' is not a known CSS property name. 

Maybe I'm missing something else.

Thanks.
0
Cyndie
Top achievements
Rank 1
answered on 06 Aug 2010, 01:52 PM
As a workaround, I added another item to my panelbar, put the grid in it and set that panel to Expanded.

Thanks.
0
M
Top achievements
Rank 1
answered on 24 Oct 2010, 01:44 AM
I had this same problem when using MVC panelbar .NET 4 VS 2010, latest MVC build. Another workaround to get this to work in IE 7 is to create a new CSS class:

.spacer
display: block;
background: white; 
height: 1px; 
width: 1px; 
}
Then between the panelbars just add:
<div class="spacer"></div>

1px is enough space for IE7 to render the panelbars properly.

 

 

 

 

 

 

 

 

 

 

 

Tags
PanelBar
Asked by
Cyndie
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Cyndie
Top achievements
Rank 1
M
Top achievements
Rank 1
Share this question
or