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

[Solved] Next page problem

4 Answers 122 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Luis
Top achievements
Rank 1
Luis asked on 08 Dec 2009, 01:37 PM
Hello

i have a RadGrid and i'm binding to the database dynamically using a DataTable
but when i click on next page button, the RadGrid is empty


please help

Thanks

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 08 Dec 2009, 03:15 PM
Hi Luis,

Can you please confirm that you are using advanced binding with NeedDataSource event handling in this case? In case you use simple binding with DataBind() calls, consider switching to this type of binding to see whether this addresses the issue.

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Luis
Top achievements
Rank 1
answered on 08 Dec 2009, 05:50 PM
the example is ok
but when i try to apply a filter to Sql
     ej.:
        SELECT * FROM Table WHERE Filter = 1
and try to go to the next page

gave me this error

ExecuteReader: CommandText

property has not been initialized


when i still using a Datatable


sorry about my english
0
Luis
Top achievements
Rank 1
answered on 09 Dec 2009, 12:48 PM
i already found the problem

is the filter
is loosing it values


thanks

0
Pavlina
Telerik team
answered on 09 Dec 2009, 01:32 PM
Hi Luis,

I am happy to hear you have found a solution for your case.
Please do not hesitate to contact us if other questions or problems arise.

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Luis
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Luis
Top achievements
Rank 1
Share this question
or