we have an EditorTemplate which is:
this is kind of a cascade, but as it used in multiples page, and some pages this is used twice.
I want to refresh after changing another combo or radio button.
in Telerik MVC Extensions we had something like this:
In other page, val1 would be from $('#Other').data('tDropDownList').value()
How can we do this for Kendo UI DropDownList?
thanks,
Ezequiel
1.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<
int
?>" %>
2.
<%= this.Html.Kendo().DropDownList().DataSource(ds => ds.Read(read => read.Action("GetListPort","AjaxCombo")))
3.
.Name(this.ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
4.
.HtmlAttributes(new { style = "width:99%;" })
5.
%>
this is kind of a cascade, but as it used in multiples page, and some pages this is used twice.
I want to refresh after changing another combo or radio button.
in Telerik MVC Extensions we had something like this:
1.
function
onDropDownDataBinding(e) {
2.
var
val1 = $(
'#First'
).data(
'tDropDownList'
).value();
3.
e.data = $.extend({}, e.data, {parameter: val1});
4.
}
How can we do this for Kendo UI DropDownList?
thanks,
Ezequiel