Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Custom FilterMenu by Column (server-side)

$
0
0
Hi,

To achieve your scenario you could follow the JavaScript approach shown in the article linked below:
http://www.telerik.com/help/aspnet-ajax/grid-reducing-filtermenu-options.html

The idea is to subscribe to RadGrid FilterMenuShowing event and change the options dynamically. Note that a client-side JavaScript approach is required because the filter options are changed on the client and there is no way to customize the menu based on each column from the server because the changes will be overridden from the client:

You should be able to adjust the code to check for the name of the column instead of its data type, if needed.

Regards,
Pavlina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>