How can I bind a runtime value in description text property of ListBox Item !
Like there should be databind property (field name) for description text !
Regards,
Divyesh Chapaneri
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 17 Feb 2009, 05:03 PM
Hello Divyesh Chapaneri,
Thank you for the question.
You can use the ItemDataBound event for your scenario. Although the linked help article is in the RadComboBox section, it is also valid for RadListBox. The code snippet in your case will be similar to the shown below:
public Form1()
{
InitializeComponent();
this.radListBox1.ItemDataBound += new Telerik.WinControls.UI.ItemDataBoundEventHandler(radListBox1_ItemDataBound);