This question is locked. New answers and comments are not allowed.
Here's my client code:
and the javascript:
Following the documentation, but combobox variable is null... please advise
Thanks
Pete
Client: <span class="comboBox"> <%:Html.Telerik().ComboBox() .Name("ClientComboBox") .SelectedIndex(0) .BindTo(new SelectList(Model.ClientComboBox.Data, "Key", "Value")) .ClientEvents(events => events .OnChange("onClientComboBoxChange")) %>and the javascript:
$(function () {if ($('#ClientId').val() > 0) { var combobox = $('#ClientComboBox').data('tComboBox'); alert(combobox); // IS NULL combobox.select($('#ClientId').val()); }// More code in ready handlerFollowing the documentation, but combobox variable is null... please advise
Thanks
Pete