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

Radgrid programmatically created and paging

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ivan Ruiz
Top achievements
Rank 1
Ivan Ruiz asked on 28 Mar 2009, 11:05 PM

Hi Telerik team,

I need to create several RadGrid’s at run time according to the result of some queries, this means that I don’t have the exactly amount of RadGrids to be created on each pageload.

So at this point I am able to create the RadGrdis as needed, but I can’t make paging functionality works as expected.

I can surf only the first and second page, of my RadGrids, after that it appears that My RadGrids are not persisting on the server. I have try many options as enable the ViewState property, and others but without successful.

I am trying to follow this article to achieve my goal but I can not make, pages work as expected.

 Based on this article http://www.telerik.com/help/aspnet/grid/grdprogrammaticcreation.html Section: Create Telerik RadGrid entirely in the code behind

Any comment will be very useful.
Thanks in advanced.

Ivan Ruiz
Cytrux Software

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Mar 2009, 06:23 AM
Hi Ivan,

The built-in Paging feature of the RadGrid must work with AdvanceDataBinding techniques and also when the Grid is populated by setting the DataSourceID property. In the above given article the Grid is populated via DataSourceID. I am not sure what is happening on your end. I would suggest you to send the code behind.

Shinu.
Tags
Grid
Asked by
Ivan Ruiz
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or