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

when go to the next page in radgrid radgrid' datasource be null

3 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
niloofar
Top achievements
Rank 1
niloofar asked on 08 Sep 2010, 01:08 PM
hi
i use LINQ
and i use IQueryable for datasource
when i use grouping ,filtering and go to the next page radgrid' datasource be null
and i must Bind grid otherTime

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 08 Sep 2010, 04:03 PM
Hi niloofar,

Can you specify how it the grid bound - with LinqDataSource control or through the NeedDataSource event? Additionally, specify if you are using custom paging for the grid. Sharing the problematic page code might help us get to the source of the problem in your case.

All the best,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
niloofar
Top achievements
Rank 1
answered on 08 Sep 2010, 05:48 PM
thanks for your answer
i am not using custom paging and linq datasource
when user click on button radgrid bind
0
Iana Tsolova
Telerik team
answered on 09 Sep 2010, 12:56 PM
Hello niloofar,

Can you share the problematic page code? If you are using simple data-binding for the grid, e.g. setting its DataSource and calling DataBind() method explicitly, check out this article to see how you can handle paging.
However I would suggest that you bind the grid through its NeedDataSource and Rebind() it on button click.

Greetings,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
niloofar
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
niloofar
Top achievements
Rank 1
Share this question
or