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

Display page before RadGrid binds data

3 Answers 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 04 Feb 2009, 02:32 PM

Greetings all,

 

I’ve built a web part that connects to an AS400 database and gets a certain amount of data. A custom summary web part has been added to the landing page of the site that contains a RadGird control. The initial connection for a user is slow as the OLEDB/ODBC is connected and gets the data; up to 12 seconds. Once the connection is cached the rendering is quick.

 

I’d like to know if there is a way to render the page first and then bind the data within the RadGrid after the load. Much like the way the BDC connector works. With the BDC connector you can see the animated line go back and forth as it gets data.

If anyone has any ideas that’d be great.

 

Thanks,

 

-Matt

3 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 09 Feb 2009, 01:11 PM

Hi Matthew,

You may consider taking advantage of the client data binding feature of RadGrid as shown in the following online example:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx

Do note how the grid is first displayed, then the Ajax Loading Panel appears indicating the data loading process and afterwards the data is shown.

Best regards,

Tsvetoslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Markus
Top achievements
Rank 1
answered on 21 Jul 2014, 01:25 PM
Hello,

I know, this is a old post, but I have the same problem with server-side binding using needdatasource event.

Is it possible to do something near it with server-side binding???


Thanks

Markus
0
Kostadin
Telerik team
answered on 24 Jul 2014, 11:07 AM
Hi Markus,

I am afraid that you could display the grid before populating it with data only when client side data binding is used.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Markus
Top achievements
Rank 1
Kostadin
Telerik team
Share this question
or