Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxComboBox: Two Different Methods to Create ToolTip for ComboBox Items

$
0
0

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.



Viewing all articles
Browse latest Browse all 7205

Trending Articles