How to trigger Telerik RadCombobox OnClientTemplateDataBound event when the web service returns no data?

0 Answers 92 Views
ClientDataSource ComboBox
KBIY
Top achievements
Rank 1
KBIY asked on 01 Mar 2023, 08:07 PM
Telerik RadCombobox OnClientTemplateDataBound not fired when the web service returns no data. Is there any function or method to resolve this issue?
Rumen
Telerik team
commented on 06 Mar 2023, 02:10 PM

Hi KBIY,

Let me explain how the RadComboBox control works. When you retrieve data from a web service and display it in the control, the OnClientTemplateDataBound event is triggered to bind the template for each item to the data. However, if the web service doesn't return any data, the event won't be triggered.

In addition, if there are no items to be bound, there won't be any templates to bind, so the event won't be triggered either. This is how the control is designed to work, and unfortunately, there isn't a way to change it.

Just keep in mind that the TemplateDataBound event should only be triggered for existing records. Hope this helps!

No answers yet. Maybe you can help?

Tags
ClientDataSource ComboBox
Asked by
KBIY
Top achievements
Rank 1
Share this question
or