How check if RadComboBox1.Items.Count = 0 on PageLoad?
Using ItemsRequested to DataBind RadComboBox and DataBound to Footer
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 18 Aug 2016, 12:20 PM
Hello Kjell,
In Load on Demand scenarios, which yours seems to be since you are using the ItemsRequested event, the items are not available on the server, thus RadComboBox1.Items.Count will always return 0 in the Page_Load handler. You can review the following documentation article, which provides more details on the properties that can be used on the server when the ComboBox items are loaded on demand.
Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.