This example demonstrates how to create a ToolTip for each ComboBox item using two different methods. In both methods, ComboBox items are read from the database and converted from plain text to HTML code (<span title=’Description’>CategoryName</span>). The “EncodeHtml” property of the ASPxComboBox is set to “false” to make sure that the HTML code is executed.
In the first method, the HTML code is created on the server side in the “ASPxComboBox_Init” event.
In the second method, HTML code is created by modifying the select command of the data source.