This is a migrated thread and some comments may be shown as answers.

[Solved] Cascade ComboBox

0 Answers 44 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dai Thanh
Top achievements
Rank 1
Dai Thanh asked on 02 May 2012, 08:14 AM
Hi

i have two ComboBox Country and Province

     @(Html.Telerik().ComboBoxFor(x => x.SearchCountryId).BindTo(Model.AvailableStateProvices).Encode(true).Name("SearchCountryId")
                 
                 .DataBinding(x => x.Ajax().Enabled(true).Select("AllCountries", "Country", new { selectedId = Model.SearchCountryId }))
                .CascadeTo("SearchStateProviceId"))

 @(Html.Telerik().ComboBoxFor(x => x.SearchStateProviceId).BindTo(Model.AvailableStateProvices).Encode(true).Name ("SearchStateProviceId")
.DataBinding(x => x.Ajax().Enabled(true).Select("_GetStateProvinceByCountryId", "Country")))
                @Html.ValidationMessageFor(model => model.SearchStateProviceId)


when i select country i receive error "Error! The requested URL returned 404 - Not Found".
Tags
ComboBox
Asked by
Dai Thanh
Top achievements
Rank 1
Share this question
or