All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
This seem to cause the onchange event to be called befor the change on the combobox happens: @(Html.Telerik().ScriptRegistrar().Globalization(true).DefaultGroup(group => group.Combined(true).Compress(true)).OnDocumentReady(@<
text
>
var euid = $("#Ticket_EndUserID").val();
var combobox = $('#_AutoCompleteEU').data('tComboBox');
var selectItem = function (dataItem) {
//dataItem argument is a ComboBox data item.
return dataItem.Value == euid;
}
combobox.fill(function () { //binds the combobox
combobox.select(selectItem);
});
var euid1 = $("#Ticket_ClientCompanyID").val();
</
>));