We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Cascading strongly typed DropDownLists

Thread ID:

Created:

Updated:

Platform:

Replies:

124143 May 19,2016 05:47 PM May 20,2016 02:04 PM ASP.NET MVC 1
loading
Tags: DropDownList
Tom Frajer
Asked On May 19, 2016 05:47 PM

Im trying to cascade two strongly typed DropDownLists as follows, but it is not working (second dropdown is loaded as usual, without any cascading):

        <div class="col-md-2">
            <div class="form-group">
                <label class="control-label requiredField" for="nl_id_cis__car_make">Značka</label>
                @Html.EJ().DropDownListFor(model => Model.carMakes).Datasource(Model.carMakes).DropDownListFields(Df => Df.Text("s_name").Value("nl_id_parent").ID("nl_id_parent")).Value(Model.ticker.nl_id_cis__car_make.ToString()).Width("100%").CascadeTo("nl_id_cis__car_model")
            </div>
        </div>
        <div class="col-md-1">
            <div class="form-group">
                <label class="control-label requiredField" for="nl_id_cis__car_model">Model</label>
                @Html.EJ().DropDownListFor(model => Model.carModels).Datasource(Model.carModels).DropDownListFields(Df => Df.Text("s_name").Value("nl_id")).Value(Model.ticker.nl_id_cis__car_model.ToString()).Width("100%")
            </div>
        </div>

Prince Oliver [Syncfusion]
Replied On May 20, 2016 02:04 PM

Hi Tom, 

We are unable to reproduce the issue” unable to cascade strongly typed dropdownlist” at our end. We have attached a sample for your convenience. If this doesn’t help, please modify the sample to reproduce the issue and attach it in your update. 

Refer to the following link for the sample: 

Let us know if you have any further queries. 

Regards, 
Prince 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;