Add Tooltip to ListBox Control in ASP.NET

I was trying add a title or horizontal scroll bar to one of my asp.net listbox control. This is required because few of my list item text was lengthy. Finally I got solution.

foreach (ListItem item in lstSourceList.Items)
{
item.Attributes.Add(“title”, item.Text);
}

2 Comments »

  1. ramprasath said

    how to compare with two tables in sql

  2. shaikh said

    I try this but its not working

RSS feed for comments on this post · TrackBack URI

Leave a Comment