I think in this case you'd have to fix this up client-side, since the items 
are stored in a ListItemCollection which doesn't accommodate extra properties 
like that.  An alternative would be to create a custom control that inherits 
the CheckBoxList control and override the rendering...

   If you wanted to use the control Bob mentioned (thanks for thinking of me, 
Bob) you could grab your data from the database and include a span tag in the 
SELECT statement, with a tooltip built in like this:

SELECT myValueColumn, 
'<span style="width:100%;" title="' + myTooltipColumn + '">' + myNameColumn + 
'</span>' myNameColumn
FROM myTable

Regards,

Peter

 From: [EMAIL PROTECTED]

Bob,

Thanks for the reply, but the requirement in my case is to use
checkboxlist with different tooltips for each item. Is there any way to
do the same?

Kiran.
-----Original Message-----
From: [email protected]
On Behalf Of Bob Filipiak

Take a look at http://www.easylistbox.com/demoMultiDropDown.aspx
It may provide what you need.
--- Original Message ----- 
From: 

> Hello,
>
> Is it possible to display a different tooltip text for each item in a
> checkboxlist control?
>
> Any help is appreciated.
>
> Regards,
> Kiran.


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12htbj6bq/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123693350/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to