Solved

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

Posted on 2007-11-19
5
2,259 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

823 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