We would like add a custom attribute with a unique value to each option (<li>) in RadComboBox. Either the custom attribute needs to be added to <li> tag or add a <span> tag inside <li> tag and add custom attribute to <span> tag.
We load the options to ComboBox using web service. I read the Item Templates are not supported when we use a web service to populate RadComboBox with data so we assume adding a <span> tag with custom attribute is not possible.
Is there any way to achieve this?
<ul class="rcbList">
<li class="rcbHovered">1</li>
<li class="rcbItem">2</li>
<li class="rcbItem">3</li>
<li class="rcbItem">4</li>
<li class="rcbItem">4</li>
<li class="rcbItem">5</li>
</ul>