In my web application, i have dropdowncheckboxes control but i am trying to show tooltip on selectbox items. Is is possible to do.
I am tried code:
.aspx:
OnSelectedIndexChanged="dropdown1_SelectedIndexChanged" AutoPostBack="true">
.CS:
protected void Page_Load(object sender, EventArgs e)
{
tooltip1.Text = dropdown1.Texts.SelectBoxCaption;
}
protected void dropdown1_SelectedIndexChanged(object sender, EventArgs e)
{
List checkedList = new List();
foreach (ListItem item in dropdown1.Items)
{
if (item.Selected)
{
checkedList.Add(item.Value);
}
}
dropdown1.Texts.SelectBoxCaption = String.Join(",", checkedList.ToArray());
}
tooltip is not displayed can anyone tell me where i did mistake i don't know. Is there any events to display tooltip
Thank you
4 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bikesh SrivastavaPosted Sep 23, 2016, 8:25 AM
Sudeep ChourasiaPosted Sep 23, 2016, 6:17 AM
User77Posted Sep 23, 2016, 5:39 AM
Sudeep ChourasiaPosted Sep 22, 2016, 1:31 PM