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

MasterTableView.FilterExpression en un RadGrid en un FormView

1 Answer 219 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Renier
Top achievements
Rank 1
Renier asked on 20 Apr 2010, 03:43 AM

 

MasterTableView.FilterExpression in a RadGrid in a FormView

I tried to apply a filter to a Radgrid found in a FormView, but apparently the filter is not applied correctly, I am using the following:

 

 ((RadGrid)FormView1.FindControl("gvregion")).MasterTableView.FilterExpression = "([Localidad] LIKE '%SANTA%')";  
 ((RadGrid)FormView1.FindControl("gvregion")).MasterTableView.Rebind(); 

 

Check if the property was correctly set will with the following:

Response.Write(((RadGrid)FormView1.FindControl("gvregion")).MasterTableView.FilterExpression); 

 

But it does not filter properly, displays: "No records to display." There are records that affect the criteria but does not display, anyone can help me?, Thanks.

 

 

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 22 Apr 2010, 11:52 AM
Hello Renier,

Please check out the following online documentation articles which illustrate how to operate with the FilterExpression of Telerik RadGrid manually:
http://www.telerik.com/help/aspnet-ajax/grdoperatewithfilterexpression.html
http://www.telerik.com/help/aspnet-ajax/grdapplyingdefaultfilteroninitialload.html

I hope this helps.

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