Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How add title attribute for the Dropdownlist

$
0
0

Can any one know how to add the title attribute to the dropdown.

I tried in the following way.

foreach(ListItemliinddlDropdown.Items)

{

li.Attributes.Add("title",li.Text);

But the title was appearing behind the dropdown items.


Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>