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

[Solved] Radgrid layout goes wrong after update

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ahrensberg
Top achievements
Rank 1
Ahrensberg asked on 25 Feb 2010, 06:57 PM
Hi guys,

I have a very annoying problem. I have a multipage including radgrids. From one pageview I requests a rebind of a grid in another pageview. The data is rebinded correctly, but something goes wrong in the layout. The grid height becomes so low that the rows disapears. If i resizing my browser window the columns are again become visible, but I do not want to be forced to do this resizing.

Any ideas?!

Best regards,
Ahrensberg

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Feb 2010, 08:10 AM
Hi Ahrensberg,

The observed problem is normal, when RadGrid is updated while it is inside a non-active PageView, because the control cannot adjust its layout when it is inside a hidden container. It needs to do that when it is used with static headers and Height instead of ScrollHeight.

Here is how to resolve the issue:

http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-height-problems-again.aspx#751819

In theory, this repainting can be done automatically, but will impose a performance penalty, so we refrain from implementing such an approach out-of-the-box.

Kind regards,
Dimo
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.
Tags
Grid
Asked by
Ahrensberg
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or