or
@(Html.Kendo().Notification() .Name("notification") .Position(p => p.Pinned(true).Top(30).Right(30)) .Stacking(NotificationStackingSettings.Down) .AutoHideAfter(0) .Templates(t => { t.Add().Type("info").ClientTemplateID("infoTemplate"); t.Add().Type("success").ClientTemplateID("successTemplate"); t.Add().Type("error").ClientTemplateID("errorTemplate"); t.Add().Type("warning").ClientTemplateID("warningTemplate"); }) )notification.show({ message: "Upload Successful",}, "success");
@(Html.Kendo().DropDownListFor(m=> m.SelectedProduct) .HtmlAttributes(new { style = "width: 250px" }) .DataTextField("ProductName") .DataValueField("ProductID") .DataSource(source => { source.Read(read => { read.Action("GetProducts", "DropdownList"); }); }) )public ActionResult RemoteDataSource() { var model = new RemoteDataSourceViewModel() { SelectedProduct = new SelectedProduct() { ProductID = 7, ProductName = "Uncle Bob's Organic Dried Pears" } }; return View(model); }schema: { model: { id: "ID", fields: { FirstName: { type: "string", from: "Person.FirstName" }, LastName: { type: "string", from: "Person.LastName" }, GroupName: { type: "string" }, } }},@(Html.Kendo().ComboBoxFor(m => m) .DataTextField("DisplayName") .DataValueField("Code") .AutoBind(true) .DataSource(ds => ds .Read(read => read.Action("CountryLoading", "Home")) .ServerFiltering(true) ) )function CommidityFocus(e, upperE, elementName) { var combobox = $(elementName).find('span').children('input').data('kendoComboBox'); Combobox.value("hurz"); // No Reload ?! combobox.search("hurz"); // No Reload ?! combobox.dataSource.read(); // No Reload ?!}