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

RadGrid not showing

1 Answer 299 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 11 Jan 2012, 01:26 PM
Hey peeps,

I've got a strange problem happening. We're busy with a website that consists of 2 sections that accesses the same RadGrid. The first section is based on the programme selection by the user (e.g. Home Page -> Programme -> Sub Programme -> Tools Tab). The second section can be accessed directly (e.g. Home Page -> Resources). Both pages are different as the Resources page is a summary of all documents and the programme page contains documents related to that specific programme. On both pages we have a RadGrid that works great.

Now for the problem. On that RadGrid there is an item template that contains a button to allow the user to view the contents of the selected document category. Once clicked, a new RadWindow is opened containing a RadGrid, listing all the documents in that category. Both pages (programme and resources) access the same page that contains the radgrid displayed in the radwindow (lets call it ContentPage).

When the ContentPage is opened from the Programme page, the RadGrid shows 100%. However, when the same ContentPage is opened from the Resources page, the RadGrid does not show. Any ideas?

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 13 Jan 2012, 09:19 AM
Hello Juan,

A visible RadGrid, declared on the page would not show in case it is not bound. Therefore, my advice is to check whether the code that binds the grid is hit in both cases. Also, debug it and see what exactly is the datasource that is passed to RadGrid and whether it has records inside it.

Regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Juan
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or