Hello,
I'm also having the same problem. I've tried Vince's suggestion by taking the button out of UpdatePanel but it does not solve the problem.
I have included an example code that demonstrates this problem to see if anyone has any idea. Thanks ahead!
----
In this code I have a hover menu inside a UpdatePanel. There is a button (ButtonOnHoverMenu) on the hover menu. I also have another button (ButtonNotOnHoverMenu) that is not on the hover menu but is inside the same UpdatePanel. When you click on ButtonNotOnHoverMenu there is no full-page refresh, however, when you click on ButtonOnHoverMenu the whole page refreshes, and you can see the content of the label on the top of the page gets updated.
<%@ Page Language="C#" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
pageLoadCount.Text = (int.Parse(pageLoadCount.Text) + 1).ToString();
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.InitiallyHidden { display: none }
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div>Page_Load count: <asp:Label runat="server" ID="pageLoadCount" Text="0"></asp:Label></div>
<asp:ScriptManager runat="server" ID="sm"></asp:ScriptManager>
<asp:UpdatePanel runat="server" ID="uPanel" UpdateMode="Conditional">
<ContentTemplate>
<asp:TextBox runat="server" ID="dummy" Text="Hover over to see menu"
Height="60px" Width="177px"></asp:TextBox>
<cc1:HoverMenuExtender ID="dummy_HoverMenuExtender" runat="server"
TargetControlID="dummy" PopupControlID="hoverMenu">
</cc1:HoverMenuExtender>
<asp:Panel runat="server" ID="hoverMenu" CssClass="InitiallyHidden">
<asp:Button runat="server" ID="ButtonOnHoverMenu" Text="I'm on a hover manu" />
</asp:Panel>
<br />
<asp:Button runat="server" ID="ButtonNotOnHoverMenu" Text="I'm not on a hover menu" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>