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

ModalPopupExtender & Radgrid

2 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paluth
Top achievements
Rank 1
Paluth asked on 28 Apr 2008, 08:37 PM
Im trying to migrate to RadControls "Prometheus" from the lastest version of 5. I use many RadGrid components inside ModalPopupExtender, and I could pass by with version 4 and 5 of the grid. Now with Prometheus it doent work anymore, the grid render with no height only the header and fotter show, but the body of the grid seams to render with height 0. Ive try many combinations of propertie settings and couldnt get it to work. After a rerender caused by any reason (like sorting or column reordering, window resizing, etc...) the grid renders correctly. Maybe if I could force a re-render I could go around this problem, but I havent been able to do that.
Anyone has any clue about this?

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 01 May 2008, 02:13 PM
Hello Paluth,

Based on the information supplied, it is not immediately clear what is causing this visual glitch. In order to further trace the issue, you can open a formal support ticket, and send us the problematic project, for further investigation.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jon
Top achievements
Rank 1
answered on 25 Aug 2010, 04:00 PM
I have a very similar issue. Not sure what version of RadGrid I am using but the Telerik.Web.UI.dll is version 2009.3.1314.20.

We use the RadGrids in numerous pages, but in the one place where we use one within a ModalPopupExtender the grid appears with no height - just a miniscule scroll bar.

We've worked round this by adding a javascript function with $find('ourPopupExtenderBehaviour').add_shown, which forces the height of the grid with

var grid = findRadGrid('ourGridGrd');
        if(grid) {
            grid.style.height = '200px';
        }

This works fine on initial display of the popup. But once a postback has occured and the popup hidden, the next time it is shown the grid returns to its "no height" state.

Was a support ticket raised for this initial log and was a solution found?
Tags
Grid
Asked by
Paluth
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Jon
Top achievements
Rank 1
Share this question
or