HoverMenuExtender(滑出菜单) 控件的使用
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<link href="StyleSheet.css" _fcksavedurl=""StyleSheet.css"" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<ajaxToolkit:HoverMenuExtender ID="HoverMenuExtender1"
runat="server"
TargetControlID="btnProduct"
PopupControlID="PanelPopUp"
PopupPosition="bottom"
OffsetX="6"
PopDelay="25" HoverCssClass="popupHover">
</ajaxToolkit:HoverMenuExtender>
<asp:Panel ID="PanelPopUp" runat="server" Height="50px" Width="125px" CssClass="popupMenu">
<asp:LinkButton ID="BtnUpDate" runat="server" CausesValidation="true" CommandName="Update" Text="Update Record"></asp:LinkButton><br />
<asp:LinkButton ID="BtnCancel" runat="server" CausesValidation="false" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
</asp:Panel>
<asp:LinkButton ID="btnProduct" runat="server">PRODUCT: Joes Training Video</asp:LinkButton>
</div>
</form>
</body>
</html>