New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnClientTemplateDataBound

OnClientTemplateDataBound

The OnClientTemplateDataBound client-side event of the RadListBox is fired after the client template is bound and the binding expression are evaluated.

The event handler receives two parameters:

  1. The instance of the listbox firing the event.

  2. An eventArgs parameter containing the following methods:

  • get_dataItem() returns the dataItem object that the current item is being bound to.

  • get_html() gets the rendered template HTML.

  • set_html() sets the rendered template HTML.

  • get_template() – returns the template function that’s used to bind the dataItem to the template text.

See Also