FilterableMessagesBuilder
Methods
Info(System.String)
Sets the info part of the filter menu
Parameters
message - System.String
The text of the information message on the top of the filter menu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.Info("Filter by: ")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Title(System.String)
Sets the title attribute of the filter menu form
Parameters
message - System.String
The text rendered for the title attribute of the filter menu form.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.Title("Custom title: ")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              And(System.String)
Sets the text for And option.
Parameters
message - System.String
The text for And operator.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.And("And")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Or(System.String)
Sets the text for Or option.
Parameters
message - System.String
The text of the option which represents the "or" logical operation
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.Or("Or")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              IsTrue(System.String)
Sets the text for Boolean IsTrue option value.
Parameters
message - System.String
The text of the radio button for true values. Displayed when filtering Boolean fields.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.IsTrue("True")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              IsFalse(System.String)
Sets the text for Boolean IsFalse option value.
Parameters
message - System.String
The text of the radio button for false values. Displayed when filtering Boolean fields.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.IsFalse("False")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Filter(System.String)
Sets the text for Filter button.
Parameters
message - System.String
The text of the button which applies the filter.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.Filter("Apply filter")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              SelectValue(System.String)
Sets the text for SelectValue option.
Parameters
message - System.String
The text of the DropDownList displayed in the filter menu for columns whose values option is set.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);   
                })
                .Filterable(f => f.Messages(m => m.SelectValue("Select category")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Clear(System.String)
Sets the text for Clear button.
Parameters
message - System.String
The text of the button which clears the filter.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);   
                })
                .Filterable(f => f.Messages(m => m.Clear("Clear")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Operator(System.String)
Sets the text for Operator label.
Parameters
message - System.String
The text displayed in the tooltip of the operator item in filter menu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.Operator("Choose operator")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              AdditionalOperator(System.String)
Sets the text for AdditionalOperator label.
Parameters
message - System.String
The text displayed in the tooltip of the additional operator item in filter menu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.AdditionalOperator("Choose operator")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Value(System.String)
Sets the text for Value label.
Parameters
message - System.String
The text displayed in the tooltip of the value item in filter menu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.Value("Choose value")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              AdditionalValue(System.String)
Sets the text for AdditionalValue label.
Parameters
message - System.String
The text displayed in the tooltip of the additional value item in filter menu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .Filterable(f => f.Messages(m => m.AdditionalValue("Choose value")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              CheckAll(System.String)
Sets the text for CheckAll message when Multi checkbox filtering is enabled.
Parameters
message - System.String
The label used for the check-all checkbox.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight).Filterable(f => f.Multi(true));   
                })
                .Filterable(f => f.Messages(m => m.CheckAll("Check all")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Search(System.String)
Sets the text for the search input placeholder when the search option is enabled.
Parameters
message - System.String
The placeholder of the search input for columns with the search option set to true.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .ColumnMenu()
                .Filterable(f => f.Messages(m => m.Search("Search category")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              SelectedItemsFormat(System.String)
Sets the format for the selected items count message.
Parameters
format - System.String
The format string for selected items count in filter menu when search option set to true.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight).Filterable(f => f.Multi(true));   
                })
                .Filterable(f => f.Messages(m => m.SelectedItemsFormat("There are {0} selected items")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              Logic(System.String)
Sets the text for Logic label.
Parameters
message - System.String
The text displayed in the tooltip of the logic item in filter menu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .ColumnMenu()
                .Filterable(f => f.Messages(m => m.Logic("Choose logic")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              ButtonTitle(System.String)
The title of the button that displays the ColumnMenu.
Parameters
message - System.String
The title of the button that displays the FilterMenu.
Example
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);  
                })
                .ColumnMenu()
                .Filterable(f => f.Messages(m => m.ButtonTitle("Filter")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )