We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Disable/Hide Custom Filters ASP.NET MVC Grid

Thread ID:





116046 Mar 24,2014 12:39 AM UTC Mar 26,2014 12:25 PM UTC ASP.NET MVC (Classic) 1
Tags: Grid
Asked On March 24, 2014 12:39 AM UTC

How do i Disable or Hide the custom filters option in the filters drop down via Razor syntax?  I realize I could style it out or utilize the 'Disable_MenuItem' class to disable it, but it would be great to have a razor method to disable custom filters.

--  IGridBuilder<T> EnableFiltering(bool EnableCustomFiltering);


--  .Filtering(filter =>

I believe this can be achieved by overloading some of the functions with the WinForms control.


Attachment: CustomFilter_e142b2fd.zip

Shanmugaraja K [Syncfusion]
Replied On March 26, 2014 12:25 PM UTC

Hi Adam,


Thanks for using Syncfusion products.


We would like to let you know that  your requirement has been achieved  as a Workaround by overriding css class. Please refer the below code  snippet to achieve your requirement.




li.Disable_MenuItem + li > ul


            display:none !important;


.sf-menu > li > a > span.arrows





Also refer the below attached sample for further reference.


Please let us know if you need further assistance.



Shanmugaraja K

Attachment: MvcApplication23_81a165fa.zip


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon