Completed
Last Updated: 08 May 2020 15:53 by ADMIN
Release R2 2020
Kevin
Created on: 28 Feb 2020 14:09
Category: Grid
Type: Bug Report
1
Filter Menu Stops Displaying when upgrading to version 2019.1.115.45

Replicated when the ClickToOpen is enabled: 

protected void Page_Load(object sender, EventArgs e) { RadGrid1.HeaderContextMenu.ClickToOpen = true; }

WORKAROUND: Loading the following script under the script manager

<script>
    var original = Telerik.Web.UI.GridColumn.prototype._onContextMenuItemClicking;
    Telerik.Web.UI.GridColumn.prototype._onContextMenuItemClicking = function (sender, args) {
        original.call(this, sender, args);
                
        var item = args.get_item();
        var itemValue = item.get_value();
        if (itemValue == "FilterList" || itemValue == "FilterMenuContainer" ||
            itemValue == "AggregatesContainer" || itemValue == "FilterMenuParent" || itemValue == "ColumnsContainer" ||
            (Telerik.Web.UI.RadMenuItem.isInstanceOfType(item.get_parent()) && item.get_parent().get_value() == "ColumnsContainer")) {
            if (sender.get_clickToOpen()) {
                args.get_item().open();
            }
        }
    }
</script>

 

 

 

 

0 comments