This question is locked. New answers and comments are not allowed.
Hi, I need to show in a ComboBox two values from my model. For example this is my code:
<%= Html.Telerik().ComboBox()
.Name("CustomerAutoComplete")
.BindTo(new SelectList(Model.Customers, "Id", "Name"))
.HtmlAttributes(new { style = string.Format("width:{0}px", 200) })
.ClientEvents(events => events
.OnClose("autoSelectOnChange")
)
%>
But I need to do something like this
<%= Html.Telerik().ComboBox()
.Name("CustomerAutoComplete")
.BindTo(new SelectList(Model.Customers, "Id", "Name", "LastName"))
.HtmlAttributes(new { style = string.Format("width:{0}px", 200) })
.ClientEvents(events => events
.OnClose("autoSelectOnChange")
)
%>
Any Idea?
Thks!
<%= Html.Telerik().ComboBox()
.Name("CustomerAutoComplete")
.BindTo(new SelectList(Model.Customers, "Id", "Name"))
.HtmlAttributes(new { style = string.Format("width:{0}px", 200) })
.ClientEvents(events => events
.OnClose("autoSelectOnChange")
)
%>
But I need to do something like this
<%= Html.Telerik().ComboBox()
.Name("CustomerAutoComplete")
.BindTo(new SelectList(Model.Customers, "Id", "Name", "LastName"))
.HtmlAttributes(new { style = string.Format("width:{0}px", 200) })
.ClientEvents(events => events
.OnClose("autoSelectOnChange")
)
%>
Any Idea?
Thks!