Ajax DropDown with javascript parameter

2 posts, 0 answers
  1. Ezequiel
    Ezequiel avatar
    36 posts
    Member since:
    Oct 2011

    Posted 21 May 2014 Link to this post

    we have an EditorTemplate which is:
    1.<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<int?>" %>
    2.<%= this.Html.Kendo().DropDownList().DataSource(ds => ds.Read(read => read.Action("GetListPort","AjaxCombo")))
    4..HtmlAttributes(new { style = "width:99%;" })

    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});
    In other page, val1 would be from  $('#Other').data('tDropDownList').value()

    How can we do this for Kendo UI DropDownList?

  2. Alexander Popov
    Alexander Popov avatar
    1436 posts

    Posted 23 May 2014 Link to this post

    Hello Ezequiel,

    I already answered to this query in the support ticket you opened. Please keep in mind that it is highly recommended that you keep related questions in one support thread or a forum post, so that we can easily keep track of your support history and provide better answers in shorter time.

    Alexander Popov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top