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

Grid taking life to load

6 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajz
Top achievements
Rank 1
Rajz asked on 18 Feb 2011, 06:43 AM
Hello,

I have a page having a couple of grids

Everything seems working fine, once it is deployed in the server the grids in a specific page is taking life to load if there is no record!

When there is no record, we bind the grid with an object having null reference

Any workarounds?

Thank you

Regards
Raj

6 Answers, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 23 Feb 2011, 10:46 AM
Hello Rajz,

Try binding to an empty collection instead (ArrayList, List etc.), passing null as a datasource is not a good approach. 

Kind regards,
Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Rajz
Top achievements
Rank 1
answered on 23 Feb 2011, 01:45 PM
The culprit is, Screen Resolution!

if I change higher screen resolution to lower screen resolution I have this issue!!

Is there any workaround avaibale?!
0
Marin
Telerik team
answered on 24 Feb 2011, 09:59 AM
Hi Rajz,

This is indeed unusual behavior. Normally the screen resolution should not affect the grid preformance. You can check your browser and production server settings.

All the best,
Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Rajz
Top achievements
Rank 1
answered on 25 Feb 2011, 12:16 PM
I have checked this both on my development and production server ... we have the issue

Were you able to reproduce this issue?

Do I have any workarounds to fix this strange issue?!

Any timely help would be really appreciated

Thank you

Regards
Raj
0
Marin
Telerik team
answered on 25 Feb 2011, 02:10 PM
Hi Rajz,

I tried to reproduce the described behaviour but to no avail.
I will appreciate if you could send a sample project that reproduces the issue so we can check it on our side. Additionally note that the recommended approach for binding the grid in complex scenarios is by using Advanced databinding with the NeedDataSource event.

Kind regards,
Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Rajz
Top achievements
Rank 1
answered on 25 Feb 2011, 02:40 PM
Please allow me to take some time to send it to you

Thank you

Regards
Raj
Tags
Grid
Asked by
Rajz
Top achievements
Rank 1
Answers by
Marin
Telerik team
Rajz
Top achievements
Rank 1
Share this question
or