Solved

I need a tooltip option for each listitem in my asp:checkboxlist

Posted on 2007-11-19
5
2,257 Views
Last Modified: 2008-03-15
I'd need to do a tooltip on a checkboxlist- for each listitem.  I'd like for the tooltip option to work similar to the one on asp:label.  

I've attempted to do this, but I'm only able to create rollovers or tooltips for the whole checkboxlist and not a different one for each listitem.  This is my real problem.

sample code:: as you know this does not work.

                        <asp:CheckBoxList ID="cbl1" runat="server">
<asp:ListItem Value="QUF" Text="QUF/NUF" tooltip="XUF"></asp:ListItem>
<asp:ListItem Value="BET" Text="BET/NET" tooltip=" XEF"></asp:ListItem>
                        </asp:CheckBoxList>
0
Comment
Question by:sl1nger
  • 2
5 Comments
 
LVL 16

Expert Comment

by:McExp
ID: 20316604
The Check Box list is quite limited in that respect, you can't set tooltips individually. you will either need to just use multiple <asp:checkbox/> controls or write your own composite control to imitate the <asp:CheckBoxList/> control with the extra fuctionality you need.
0
 

Author Comment

by:sl1nger
ID: 20316873
McExp -

Do you know of any examples with the custom composite controls??
0
 
LVL 16

Accepted Solution

by:
McExp earned 500 total points
ID: 20321621
hmm! there are plenty on the internet!

Here is a good one for starters:-
http://www.brainbell.com/tutorials/ASP/Custom_Composite_Controls.html

I've not done anything specifically with check boxes myself so can't provide anything more specific.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21135864
Forced accept.

Computer101
EE Admin
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now