<telerik:RadNotification ID="RadNotification1" Skin="Glow" VisibleOnPageLoad="false" Animation="Fade" AutoCloseDelay="10000" runat="server" ContentScrolling="None" Height="260px" Position="Center" RenderMode="Auto" TitleIcon="none" ContentIcon="none" ShowTitleMenu="True" Title="DataBase NaN values report" TitleMenuToolTip="" Width="320px" EnableRoundedCorners="True" EnableShadow="True"></telerik:RadNotification>
function onModelRequesting(sender, args) {
var text = args._text;
$.ajax({
type: "GET",
url: "/Release/GetModelProjects/",
data: { query: text },
dataType: "json",
success: function(xhr) {
writeModelsData(xhr);}
});
}
function writeModelsData(data) {
modelsCombo.clearItems();
modelsCombo.trackChanges();
for (var i = 0; i < data.length; i++) {
var comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text(data[i].ProjectName + ' ' + data[i].ModelName);
comboItem.set_value(data[i].ProjectName);
modelsCombo.get_items().add(comboItem);
}
modelsCombo.commitChanges();
}
This seems to work except one thing, the items is not in my dropdown directly, I have to click the dropdown arrow in "ShowMoreResult". Ill se them flash quickly then they dissapear, and then I have to click the down arror at the bottom of the dropdown. What am I missing?
Regards