cannot select items list from telerik mvc combox box

Posted by user384080 on Stack Overflow See other posts from Stack Overflow or by user384080
Published on 2012-04-03T11:25:01Z Indexed on 2012/04/03 11:30 UTC
Read the original article Hit count: 245

Filed under:
|

I'm trying to implement the comboboxfor as follow:

   @(Html.Telerik().ComboBoxFor(model => model.ProductId)
                .AutoFill(true)

                .HighlightFirstMatch(true)

                .DataBinding(binding => binding.Ajax().Select("GetProductByKeyword", "Product"))

I managed to populate the list but does not allow me to select from the list. Also, I need to show the product name but at the same time I need to bind the productId as this is Id will stored in the database.

any ideas?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-3

Related posts about telerik-mvc