Hi Goodway,
Your tip is displayed somtimes and not displayed in other times.
Based on my experience, you may put the code into wrong place.
You can try the following method.
protected void DropDownList1_PreRender(object sender, EventArgs e)
{
foreach (ListItem itm in DropDownList2.Items)
{
itm.Attributes["title"] = itm.Text;
}
}
Let me know if I have misunderstood what you mean.
Thanks.
Hope it helps,
Hua Jun