This question is locked. New answers and comments are not allowed.
I am using Razor with VB.Net and I am trying to convert the demo example "Custom ToolBar Template." I am having some problem converting the toolbar template and was hoping that someone could give me a hand.
Here is the code that I am having problems with:
Here is a link to the demo:
http://demos.telerik.com/aspnet-mvc/razor/grid/customtoolbar?theme=vista
Thanks!
Here is the code that I am having problems with:
.ToolBar(toolBar => toolBar.Template( @<text> <label class="customer-label" for="Customers-input">Show orders for customer:</label> @(Html.Telerik().ComboBox().Name("Customers") .DataBinding(binding => binding.Ajax().Select("_GetCustomers", "Grid")) .AutoFill(true) .Filterable(filtering => { filtering.FilterMode(AutoCompleteFilterMode.StartsWith); }) .HtmlAttributes(new { style = "width: 300px" }) .HighlightFirstMatch(true) .ClientEvents(events => events.OnChange("customerChange")))</text>))Here is a link to the demo:
http://demos.telerik.com/aspnet-mvc/razor/grid/customtoolbar?theme=vista
Thanks!