473,395 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Different Tooltip for each Item in dropdownlist using ASP.NEt with

How to get different tooltip for each listitem in dropdownlist in ASP.NET
with C#. I am binding dropdownlist using database. Ofcourse each item in
dropdownlist will be different.

kindly do help me.
Apr 18 '07 #1
4 2193
"Padam" <Pa***@discussions.microsoft.comwrote in message
news:E8**********************************@microsof t.com...
How to get different tooltip for each listitem in dropdownlist in ASP.NET
with C#. I am binding dropdownlist using database. Ofcourse each item in
dropdownlist will be different.

kindly do help me.
I'm not sure there's a simple way to do that. How would you do it in HTML?
--

John Saunders [MVP]
Apr 18 '07 #2
there is no builtin way. the best to hook to the onchange and onfocus
events and display a floating div.

-- bruce (sqlwork.com)

Padam wrote:
How to get different tooltip for each listitem in dropdownlist in ASP.NET
with C#. I am binding dropdownlist using database. Ofcourse each item in
dropdownlist will be different.

kindly do help me.
Apr 18 '07 #3
I have to do in code behind file of aspx.cs file (using C#).

-- padam

"John Saunders [MVP]" wrote:
"Padam" <Pa***@discussions.microsoft.comwrote in message
news:E8**********************************@microsof t.com...
How to get different tooltip for each listitem in dropdownlist in ASP.NET
with C#. I am binding dropdownlist using database. Ofcourse each item in
dropdownlist will be different.

kindly do help me.

I'm not sure there's a simple way to do that. How would you do it in HTML?
--

John Saunders [MVP]
Apr 18 '07 #4
"Padam" <Pa***@discussions.microsoft.comwrote in message
news:E0**********************************@microsof t.com...
>I have to do in code behind file of aspx.cs file (using C#).
Well, no. In the codebehind, you need to generate HTML. It's the HTML that's
going to display in the user's browser.

My question was meant to get you to ask yourself what HTML you want sent to
the user's browser. Then we can help you determine how to generate that HTML
in the codebehind file.
--

John Saunders [MVP]
Apr 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gandalf | last post by:
I wish to apply different styles to items in a DropDownList. However, any styles applied in the codebehind (using the ListItem.Addtributes property) do not get rendered. This is an old question but...
0
by: Steve R | last post by:
I've built a composite web custom control with a lot of child controls. I assigned ToolTip values to some of these controls. The ToolTip pop-ups were working fine until I monkeyed with the order...
1
by: rejoy_j | last post by:
Hi, Is it possible to set tooltip text for a listitem in a dropdownlist(webcontrol)?.If so how?? Regards RJ ********************************************************************** Sent...
1
by: Lars Netzel | last post by:
I need to have a Tooltip on each Cell in a datagrid, I don't know how to do this. I'm using Styles to the datagrid (Which I asume most people do since you never need to show all the fields from the...
3
by: Craig G | last post by:
what way do you code it? i tried the following but it wouldnt display it lblAdd_info is a hidden field in the cell itself that contains the data i want to display in the tooltip text. i added the...
2
by: zaki.agha | last post by:
Hi I have a aspx application written in c#. I have created a datagrid control on the page. One of the columns in the control is a dropdownlist. I would like to set the data source of the...
0
by: =?Utf-8?B?UGFkYW0=?= | last post by:
How to get different tooltip for each listitem in dropdownlist using C#. I am binding dropdownlist using database. Ofcourse each item in dropdownlist will be different. kindly do help me.
1
by: Laurahn | last post by:
Hi: How can i display tooltip message on a dropdownlist template control inside a GridView Footer. I found this code working well, but it dosen't work inside a gridview: </head> <body>...
6
by: john | last post by:
I have the following textbox setup with Text & ToolTip Bindings as follows; I'm using Visual Studio 2008 VB: <asp:TextBox ID="txtDay1" runat="server" Text='<%# Eval("Day1") %>'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.