hi,
My Browser is IE8. I am using comboBox like that;
When I convert my scriptmanager EnableHistory propert TRUE, then OnItemsRequested not fired. On chrome and mozilla it is working very well. but on IE8 not work. if I close EnableHistory false then it is working..
Conditions;
first click combobox. you will see, the data is coming. then click button and postback , add history property. After that click again combobox, the data not come..
private
const
int
ItemsPerRequest = 20;
protected
void
rcbEquipmenList_ItemsRequested(
object
sender, RadComboBoxItemsRequestedEventArgs e)
{
//Random r = new Random(1000);
//string s = r.Next().ToString();
//ddd.AddHistoryPoint(s, "dd");
List<
string
> lst =
new
List<
string
>();
lst.Add(
"111"
);
lst.Add(
"2222"
);
lst.Add(
"333"
);
lst.Add(
"444"
);
lst.Add(
"555"
);
lst.Add(
"66"
);
lst.Add(
"77"
);
lst.Add(
"88"
);
lst.Add(
"9999"
);
lst.Add(
"100"
);
lst.Add(
"111"
);
lst.Add(
"122"
);
lst.Add(
"1333"
); lst.Add(
"2222"
);
lst.Add(
"333"
);
lst.Add(
"444"
);
lst.Add(
"555"
);
lst.Add(
"66"
);
lst.Add(
"77"
);
lst.Add(
"88"
);
lst.Add(
"9999"
);
lst.Add(
"100"
);
lst.Add(
"111"
);
lst.Add(
"122"
);
lst.Add(
"1333"
); lst.Add(
"2222"
);
lst.Add(
"333"
);
lst.Add(
"444"
);
lst.Add(
"555"
);
lst.Add(
"66"
);
lst.Add(
"77"
);
lst.Add(
"88"
);
lst.Add(
"9999"
);
lst.Add(
"100"
);
lst.Add(
"111"
);
lst.Add(
"122"
);
lst.Add(
"1333"
);
int
itemOffset = e.NumberOfItems;
int
endOffset = Math.Min(itemOffset + ItemsPerRequest, lst.Count);
e.EndOfItems = endOffset == lst.Count;
for
(
int
i = itemOffset; i < endOffset; i++)
{
rcbEquipmenList.Items.Add(
new
RadComboBoxItem(lst[i], lst[i]));
}
}
protected
void
dd_Click(
object
sender, EventArgs e)
{
Random r =
new
Random(1000);
string
s = r.Next().ToString();
ddd.AddHistoryPoint(s,
"dd"
);
}