Solved

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

Posted on 2007-11-19
5
2,262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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