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

Set grid datasource from javascript

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rtech
Top achievements
Rank 1
rtech asked on 20 Dec 2010, 10:52 AM
hi guys ,
I have radgrid and radpanelbar , i create some filter for radgrid in radpanel bar and I want when user click in filter type in panel bar grid filter by that . how can i do this ?

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 22 Dec 2010, 02:45 PM
Hi,

I am not absolutely sure if I understand your requirements but if you want to apply a filter to RadGrid that is not generated by its built-in filtering, you could try the folowing:
  1. Trigger a filter command by using the FireCommandEvent method.
  2. Then, you can apply the custom filter expression to the control and rebind it, as done in the Example 2 code-snippet in this help article.

I hope this helps.

Kind regards,
Tsvetina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
rtech
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or