Cascading strongly typed DropDownLists

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>

1 Reply

PO Prince Oliver Syncfusion Team May 20, 2016 06:04 PM UTC

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 


Loader.
Up arrow icon