Apply filter by code, User don't must apply

3 posts, 1 answers
  1. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 04 Jul Link to this post

    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. Answer
    Ralitsa
    Admin
    Ralitsa avatar
    176 posts

    Posted 04 Jul Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 04 Jul in reply to Ralitsa Link to this post

    Thank you very much.
Back to Top