473,461 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

"Floating Layer" when hovering over a LinkButton

GD
I have a collection of asp:LinkButtons on a web form. Based on some
reporting criteria, I will be "highlighting" some of these LinkButtons.

I'd like the user to be able to mouseover the LinkButton and get a
"floating layer" with some text in this.

How can I achieve this on the server side? The conditions that I will
evaluate in order to determine whether or not to highlight a button
will be evaluated on the server side.

On the server side, I will be able to then add onmouseover and
onmouseout attributes to the control.

Thanks for your help

Nov 19 '05 #1
4 1658
it would be ugly. on the linkbutton mouse over, you would need to postback
the page to let the server decide the mouseover behavior. you could use an
AJAX approach, or better yet move the logic to the client.

if you can determine at orignal render time, just add the mouseover
attributes then.

-- bruce (sqlwork.com)

"GD" <ge**********@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
I have a collection of asp:LinkButtons on a web form. Based on some
reporting criteria, I will be "highlighting" some of these LinkButtons.

I'd like the user to be able to mouseover the LinkButton and get a
"floating layer" with some text in this.

How can I achieve this on the server side? The conditions that I will
evaluate in order to determine whether or not to highlight a button
will be evaluated on the server side.

On the server side, I will be able to then add onmouseover and
onmouseout attributes to the control.

Thanks for your help

Nov 19 '05 #2
GD
If I add the attibutes on the server side, they're already on the
client, right?

Nov 19 '05 #3
GD
I can do something like:

lblMyLabel.Attributes["onmouseover"] = some javascript;
lblMyLabel.Attributes["onmouseout"] = some javascript;

Nov 19 '05 #4
CSS/Styles will be your best bet, otherwise just add the .Attributes() to the
control passing in the appropriate clientside events/calls/etc.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"GD" wrote:
I have a collection of asp:LinkButtons on a web form. Based on some
reporting criteria, I will be "highlighting" some of these LinkButtons.

I'd like the user to be able to mouseover the LinkButton and get a
"floating layer" with some text in this.

How can I achieve this on the server side? The conditions that I will
evaluate in order to determine whether or not to highlight a button
will be evaluated on the server side.

On the server side, I will be able to then add onmouseover and
onmouseout attributes to the control.

Thanks for your help

Nov 19 '05 #5

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

Similar topics

5
by: David Winter | last post by:
I am looking for a "WYSIWYG" style, browser-based editor for (X)HTML content. It should (at least) run under Windows, preferably in Mozilla/Firefox, but IE would be OK, too. Now I know there are...
9
by: Hasan O. Zavalsiz | last post by:
Hi , i am trying to figure out which approach is better to use . let me explain the scenario. i am using the "Nortwind" database . in this database i have "Customers " table .The following is the...
1
by: Whitney Kew | last post by:
Hello everyone, I'm developing a mixed-mode Managed C++ DLL using .NET 2003, and to avoid the potential mixed-DLL-loading-deadlock issue discussed in MS KB article 814472...
18
by: woessner | last post by:
Does anyone know of a fast way to multiply floating point numbers by powers of two? Conceptually, all you need to do is add to the mantissa. But can I write C code (or x86 assembly) to accomplish...
4
by: John Friedland | last post by:
'printf' has a '%a' conversion for floating-point output: For example, printing '123456' with "|%13.4a|" produces | 0x1.e240p+16| I've looked through Josuttis and the header files, but I...
2
by: oliharvey | last post by:
Hi - (not really a C# question -...apologies) I seem to have gravitated towards a particlar design pattern - and would welcome your opinions as to it's sanity - thanks... The basic idea is...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
1
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...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.