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

Custom Filter Layer Dao

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 25 Jul 2012, 02:18 PM
I'm using RadGrid, but I'm customizing all your controls (such as paging, sorting, filtering), to make your lower load on the database, paging and sorting are already working perfectly, and I am implementing the filter, the more I realize that for there is no filter that allows a property to tell the grid that it requires no filter because the filter has been done on the data source, in my case in the dao layer.
My filter layer Dao already working as it should have over the need for custom filters in order to command characters in the filter, for example: "!ca" would equal the filter RadGrid DoesNotContain doing custom filter "ca" . More as I do this type of filter in the filter Dao is perfectly done deal because this character, the more it seems to me the Grid does its internal filter DataSource again I sent you, so does a filter! "ca" where column in datasouce already filtered so as not to bring these characters, showing no line in my filter. There is need because the company's legacy system already use such commands in the filter.


I think my problem can be solved easily if there is a way to not allow the Grid to do your internal filter after I give you back the data is already filtered.


I look forward to an answer.


Thank you for your attention.


Fernando.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 30 Jul 2012, 12:07 PM
Hello Fernando,

You can disable the filtering option for some of the grid columns by setting their AllowFiltering property to False.
<telerik:GridHyperLinkColumn HeaderText="Edit" DataNavigateUrlFormatString="EditUser.aspx?user={0}"
 DataNavigateUrlFields="CategoryID" UniqueName="link" AllowFiltering="false" />



Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Fernando
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or