473,327 Members | 2,025 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,327 software developers and data experts.

Hover in a ASP.NET 2.0 LinkButton control

Hello all.

Is there any way to do a kind of "a.hover" in an ASP.NET 2.0 LinkButton
control? I mean, I need my LinkButton changes its color when the mouse
hovers the control.

Thank you very much.
Mar 20 '06 #1
4 4748
On Tue, 21 Mar 2006 00:07:00 +0100, Vidae - Recursos Humanos wrote:
Is there any way to do a kind of "a.hover" in an ASP.NET 2.0 LinkButton
control? I mean, I need my LinkButton changes its color when the mouse
hovers the control.


Yes, by using a.hover in your style sheet.

ASP.NET controls are just regular HTML controls on the client side, and
anything you can do in HTML, you can do with Web Controls (with a few
exceptions, and that's largely because you would be contradicting ASP).
Mar 20 '06 #2
Thank you, Erik.

Could be it possible to have several kinds of behaviours for hover? This
could be useful to have several types of links.

Thank you again.
"Erik Funkenbusch" <er**@despam-funkenbusch.com> wrote in message
news:1p***************@funkenbusch.com...
On Tue, 21 Mar 2006 00:07:00 +0100, Vidae - Recursos Humanos wrote:
Is there any way to do a kind of "a.hover" in an ASP.NET 2.0 LinkButton
control? I mean, I need my LinkButton changes its color when the mouse
hovers the control.


Yes, by using a.hover in your style sheet.

ASP.NET controls are just regular HTML controls on the client side, and
anything you can do in HTML, you can do with Web Controls (with a few
exceptions, and that's largely because you would be contradicting ASP).

Mar 21 '06 #3
that is client process. use html
"Vidae - Recursos Humanos" <cv@vidae.com> wrote in message
news:uv**************@TK2MSFTNGP11.phx.gbl...
Hello all.

Is there any way to do a kind of "a.hover" in an ASP.NET 2.0 LinkButton
control? I mean, I need my LinkButton changes its color when the mouse
hovers the control.

Thank you very much.

Mar 21 '06 #4
On Tue, 21 Mar 2006 00:59:24 +0100, Development Tray wrote:
Thank you, Erik.

Could be it possible to have several kinds of behaviours for hover? This
could be useful to have several types of links.


Of course, through the use of selectors and classes, you can create as many
behviors as you like.
Mar 21 '06 #5

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

Similar topics

4
by: clintonG | last post by:
Any folklore regarding the benefits of using one or the other of these controls? <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT...
1
by: Nevyn Twyll | last post by:
I have a DataList; in the DataList's , I have a LinkButton and a few listboxes. When the LinkButton is pressed, I need to get the ID of the selected item in one of the Listbox controls. Then I...
2
by: News | last post by:
Hi, I need help with datalist and linkbutton. I need a LinkButton to display in datalist if datafield "is_measure_customchecklist" in a db table set to true. Here is the code (in parts): ...
10
by: Bharat | last post by:
Hi Folks, Suppose I have two link button on a page (say lnkBtn1 and lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically created control. And On the click event of the lnkBtn2 I...
5
by: UnknownServices | last post by:
I've added a LinkButton to a repeater control and I set the link button as follows: <asp:LinkButton ID="DLLinkButton" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "DownloadID")%>'...
1
by: geronimi | last post by:
I want to create a linkbutton in a cell because not every row needs one (so I can't setup a linkbuttoncolumn instead of a boundcolumn.) First, i create a linkbutton in the datagrid_ItemDataBound...
13
by: rn5a | last post by:
In a shopping cart app, suppose a user has placed 5 orders, I want to show him 5 LinkButtons (one for each order) so that when he clicks the first LinkButton, he would be shown the details of his...
0
by: OceanBreeze | last post by:
I have added a LinkButton to a table cell programmatically inside the Page_Load method. I also added a custom event to that link button. The same custom event is valid for all the link buttons. The...
5
by: Peter Larsen [CPH] | last post by:
Hi, The following sample shows a LinkButton in the HeaderTemplate of a Repeater control. The problem is that i'm not able to access the linkbutton in code (in the cs file) as long as the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.