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

Apply filter by code, User don't must apply

2 Answers 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dario Concilio
Top achievements
Rank 2
Dario Concilio asked on 04 Jul 2016, 10:11 AM

Hi to all,

I would apply a filter descriptor on column and I don't what that user can apply any filters.

But, my filter descriptor has any effect if I set EnableFiltering = False

 

How can I do it?

2 Answers, 1 is accepted

Sort by
0
Accepted
Ralitsa
Telerik team
answered on 04 Jul 2016, 02:51 PM
Hello Potito,

Thank you for contacting us. 

I can suggest you to hide the filter row. Please refer to the code snippet below how to achieve it: 
this.radGridView1.EnableFiltering = true;
this.radGridView1.ShowFilteringRow = false;

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Ralitsa
Telerik
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
0
Dario Concilio
Top achievements
Rank 2
answered on 04 Jul 2016, 03:04 PM
Thank you very much.
Tags
GridView
Asked by
Dario Concilio
Top achievements
Rank 2
Answers by
Ralitsa
Telerik team
Dario Concilio
Top achievements
Rank 2
Share this question
or