2
Answers

Regarding dropdownlist

Murali P

Murali P

May 14
360
1

hi ,

page having 2 dropdownlist.

i have to collect dropdownlist1 value and pass that value as param to 2nddropdownlist and sent that value to controller to fetch the details

these are kendo dropdownlists.

@(Html.Kendo().DropDownList()
    .Name("ddlDropDown2")
    .OptionLabel("Select")
    .AutoWidth(true)
    .AutoBind(false)
    .DataTextField("Key")
    .DataValueField("Value")
    .DataSource(source =>
    {
        source.Read(read =>
        {
            read.Action("GetDetails", "Common");
        });
    })
    .Enable(true)
    )

need help

Answers (2)