Sometimes is needed to add html tags in the text of the RadListBox items. By default when this is done from the mark-up, when data binding or from the server-side these html tags are not rendered by the browse. They are presented as a plain text along with the other characters of the RadListBox’s item.

This functionality is not presented when adding items on the client-side. When this is done the browser renders the html tags. In order to deal with this limitation one should escape the text containing these tags using the implementation suggested below:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
For Each item As RadListBoxItem In RadListBox1.Items
If item.Attributes("Encoded") = "encoded" Then
item.Text = System.Web.HttpUtility.HtmlDecode(item.Text)
End If
Next
End Sub