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

HeaderTemplate

2 Answers 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zsolt
Top achievements
Rank 1
Zsolt asked on 11 Sep 2008, 12:19 PM
Hi,

I have a grid with some templatecolumns all created codebehind.
Two of those columns also use a headertemplate that contains a menu.

My problem is that when I scroll the grid (vertically or horizontally) the menus stay in the same absolute position on the screen while the rest of the headers scroll correctly.

The grid in question is actually the first detail-table under the mastergridview,
When the mastergridview-row is collapsed, the menus are still visible.

I have tried things like setting the menus z-index and position, but that didn't work.

Any ideas?

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Sep 2008, 01:42 PM
Hello Zsolt,

This is a bug in Internet Explorer, related to relatively positioned elements inside a scrollable container. In order to fix it, you need to set:

.GridDataDiv_SkinName
{
     position: relative;
}

(The above will work if you are NOT using static headers. It seems to me that this is the case.)


Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Zsolt
Top achievements
Rank 1
answered on 12 Sep 2008, 07:54 AM
Thanks Dimo,

Works perfectly
Tags
Grid
Asked by
Zsolt
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Zsolt
Top achievements
Rank 1
Share this question
or