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

[Solved] RadGrid rows collapsing

1 Answer 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 07 Jul 2009, 04:24 PM
I have a RadGrid bound to a SQL data source component. When a user selects a row from the first grid, a data connection in the code takes values fom theat grid and feeds them to a second query, which is then bound in code to a second grid. The first grid is on the first of two pageviews, and the second grid is on the other pageview.

The first time I select a row in grid 1, the query runs correctly and loads data into grid 2. However, selecting any other record runs the second query as expected and loads the data into grid 2, but all the rows are compacted into a tiny single line. You can scroll through using the arrows and see that the data is there. This continues until you exit the page and then go back to it, whereon the process repeats itself.

I have tried moving grid 2 out of the table on the pageview, and various combinations of the Ajaxmanager update settings. Nothing helps.

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 10 Jul 2009, 05:50 AM
Hi Ken,

This behavior happens when you have set 100% height for RadGrid. If this is the case, then, note that at least one of RadGrid's parent elements should have a fixed height in pixels. Alternatively, all your RadGrid parent elements should have a height of 100%, up to and including the HTML element! Check this out.

Greetings,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Ken
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or