473,766 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tooltip in a webpage

Nat
Hi

I have a webapplication in c# using asp.net.

I have several tooltips wich gets their content from a content.xml
file. My quistion is now: Can't I use AutoPopDelay, InitialDelay etc.
on tooltips in a webapplication?

And if I can what do I have to write?

Nat.
Nov 15 '05 #1
2 4086
You can not achive this by using only C# programming. The functionality you
need is not natively supported in web browsers and that's why no
AutoPopDelay, InitialDelay or other properties exist for web controls.
Tooltips in web applications are implemented using built-in Internet
Explorer functionality which does not allow you to control it any further
than simply set a tooltip message.

However, you can use the ToolTip behavior (search for ToolTip Behavior in
MSDN), which will let you modify the way tooltips are displayed in your
browser. You can use this DHTML behavior for ASP.NET web applications too,
but you may find it cumbersome. Also please note that DHTML behaviors
require Internet Explorer 5.0 or newer and will not work on any browsers
that do not support them (these browsers will simply ignore them and will
not generate an error).

Regards,

--
Vjekoslav Babic, MCSA, MCDBA

"Nat" <nm@sondagsavis en.dk> wrote in message
news:da******** *************** ***@posting.goo gle.com...
Hi

I have a webapplication in c# using asp.net.

I have several tooltips wich gets their content from a content.xml
file. My quistion is now: Can't I use AutoPopDelay, InitialDelay etc.
on tooltips in a webapplication?

And if I can what do I have to write?

Nat.

Nov 15 '05 #2
This looks more link a client-side scripting issue.

Take a look at the Page.RegisterCl ientScriptBlock method

This will help you get the scripts that you need rendered on the page.

http://www.xpcoder.net

nm@sondagsavise n.dk (Nat) wrote in message news:<da******* *************** ****@posting.go ogle.com>...
Hi

I have a webapplication in c# using asp.net.

I have several tooltips wich gets their content from a content.xml
file. My quistion is now: Can't I use AutoPopDelay, InitialDelay etc.
on tooltips in a webapplication?

And if I can what do I have to write?

Nat.

Nov 15 '05 #3

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

Similar topics

0
1542
by: Yves Royer | last post by:
Hi, I'm currently writing an application (in VS 2005 bèta 2) and made some own user controls. In each user control I added a ToolTip object so i can set some tooltips on checkboxes etc. What I wanted to do is to add a ToolTip object on the starting form, and pass this ToolTip object to the user controls. In each user control I created a property ToolTip with only a setter which accepts the passed ToolTip.
0
1567
by: Yves Royer | last post by:
Hi, My first post didn't show up so here's a second try. I'm currently writing an application (in VS 2005 bèta 2) and made some own user controls. In each user control I added a ToolTip object so i can set some tooltips on checkboxes etc. What I wanted to do is to add a ToolTip object on the starting form, and pass this ToolTip object to the user controls. In each user control I
6
403
by: ltt19 | last post by:
HI everyone, So, I have many buttons, and all of them must show a tooltip with the same string, except one word, that I must read this owrd from a variable. Although, the "ToolTip on x" property do not let me to write a little paramter of concanatantion (at least I was not able to do this). Does someone has any ideas? Any help will be very useful. Thanks in advance.
0
2139
by: EricL | last post by:
Hello, I have written a Custom Control which inherits from ToolTip and it is an OwnerDraw tooltip. In the Popup event I calculate the size of the tooltip I need to display (rather large tooltip) and resize it using the ToolTipSize property. In the Draw event, I draw my tooltip.
5
9826
by: =?Utf-8?B?cGV0ZTE5Njk=?= | last post by:
I use Visual Studio 2005 and created a very simple Form with one button. I added a Tooltip for that button. It shows fine the first time I hover over that button. But if I let it disappear by the maximum time it should be displayed, it never shows again over that button. Is that intended? And what can I do to make it show again?
6
2914
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") %>' Width="30px" ToolTip='<%# Eval("M1") %>'></asp:TextBox>
3
2587
omerbutt
by: omerbutt | last post by:
hi there i have downloaded a prototype tooltip from http://www.nickstakenburg.com/projects/prototip/ the logic it uses is to call the script after creating the <div> for example i am using the ajax method <html> <body> <div id='my_div'> </div>
16
2776
by: Charles Law | last post by:
I have to take this personally now. Tooltips have been flakey since the dawn of .NET, but to still have to put up with a disappearing tooltip in VS 2008 is getting beyond a joke. Tooltips have always done this, so isn't it about time they were fixed? I have a tooltip that I assign to a button control on my form. I hover over the button and up pops the tooltip. I move away and the tooltp fades. I hover again, and back comes the tooltip....
7
2448
by: freddukes | last post by:
Okay... So this is my first project and I want to be able to make a tool tip appear with the basket contents whenever you hover over a link using the onmousehover='javascriptFunction()'. I have acquried (and modified) some javascript code, but it did not work... So I attempted to create a simple alert() function to test and that did not work either... This is my test codee: // tooltip.js function displayAlert() { alert("Test...
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9404
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10008
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9837
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.