|
-
April 29th, 2009, 10:09 AM
#1
[RESOLVED] MouseOver event on the Button in Asp.Net
Good Day All
I have two image Buttons Like this
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Infragistics2.WebUI.WebDataInput.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<igtxt:WebImageButton ID="WebImageButton1" runat="server">
</igtxt:WebImageButton>
<igtxt:WebImageButton ID="WebImageButton2" runat="server">
</igtxt:WebImageButton>
</div>
</form>
</body>
</html>
Now i want to do a mouse Over , on WebImageButton1 and when i mouse is moved over that button it must disable WebImageButton1 and make WebImageButton2 Visible. and if the Focus is lost on Button WebImageButton2 it must hide button WebImageButton2
The Reason am Doing this Is that i want my user to Confirm with the second button. i was using a Menu Control inside a Multiview Control and the hovering is not working meaning the Submenu does not appear. So i decided to show and hide Buttons to mimic that functionality.
If you have any Suggestion, please Share
Thanks
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
-
May 2nd, 2009, 03:00 PM
#2
Re: MouseOver event on the Button in Asp.Net
You could use DHTML JavaScript functions to slide the disabled button out of view, or change it's z index to be below your other div items. Do you have a JS file you are implementing with this app?
Hope this helps
Larry Darrah
MS Architect Evangellist
-
May 4th, 2009, 01:25 AM
#3
Re: MouseOver event on the Button in Asp.Net
Good Morning
Thank you for your Help. It worked
Thanks
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|