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

[Solved] Grid refresh

1 Answer 188 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Satya
Top achievements
Rank 1
Satya asked on 05 Nov 2009, 09:51 AM
Hi,
   Iam new to Telerik grid.
   1. I have in rad grid in my page where i need to refresh the grid with search data as the paramete changes.
      The problem is iam able to bind the data for the first time only. From the second time onwards even a new datasource is providing the
       grid it is not refreshing.

2.   When iam changing the page index of grid on one result, and when a new datasource is binded to grid then how to rest the gird to the first page.

Thanks & Regards
Akber.

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 10 Nov 2009, 03:02 PM
Hello Ali,

I am posting the response already provided to you through the relevant support ticket.

Straight to the questions:
  1. I think that the following integration demo of RadGrid, RadComboBox and RadAjax will help you attain the functionality you are searching for. Review the code snippets from it for more details.
  2. To reset the page index of the grid explicitly (in case you built queries programmatically to filter the data in it), merely set its CurrentPageIndex property to 0 and refresh the grid invoking its Rebind() method.

I hope these directions are helpful.

Regards,
Martin
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
Satya
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or