vuyiswam
April 29th, 2009, 11:09 AM
Good Day All
I have two image Buttons Like this
<%@ 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
I have two image Buttons Like this
<%@ 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