Good Day all
I have a Usercontrol that has a Gridview and its hosted on my aspx page and the aspx page is defined like this
<%@ Page Language="C#" MasterPageFile="~/SubjectMasterPage.master" AutoEventWireup="true" CodeFile="SubjectStruct.aspx.cs" Inherits="SubjectStruct" Title="o! WebEditor : Subject Structure" %>
<%@ Register Src="SubjectNote.ascx" TagName="SubjectNote" TagPrefix="uc4" %>
<%@ Register Src="SubjectDetails.ascx" TagName="SubjectDetails" TagPrefix="uc2" %>
<%@ Register Src="SubjectSelector.ascx" TagName="SubjectSelector" TagPrefix="uc3" %>
<%@ Register Src="ActivityCtrl.ascx" TagName="ActivityCtrl" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<table align="left" border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td valign="top" align="left" style="width: 1%">
<uc3:SubjectSelector ID="SubjectSelector1" runat="server" />
</td>
<td valign="top" style="text-align: left; width: 1%;" align="center">
<uc2:SubjectDetails ID="SubjectDetails1" runat="server" />
</td>
<td valign="top" style="text-align: left" align="right" width="40%">
<uc4:SubjectNote ID="SubjectNote1" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="2" cellspacing="0" width="100%" align="left">
<tr>
<td height="96" style="border-top-width: 2px; border-left-width: 2px; border-left-color: #ffffff; border-bottom-width: 2px; border-bottom-color: #ffffff; border-top-color: #ffffff; border-right-width: 2px; border-right-color: #ffffff; width: 100%;" valign="top">
<uc1:ActivityCtrl ID="ActivityCtrl1" runat="server" ActivityViewMode="Activity" KeepApart="false" OnLoad="ActivityCtrl1_Load1" TextBoxAutoPostBack="false" EnableViewState="true" />
<asp:SqlDataSource ID="SqlDataSourceActvDuration" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
SelectCommand="sp_Return_Actv_Durations" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:SessionParameter Name="type" SessionField="TTBL_TYPE" />
</SelectParameters>
</asp:SqlDataSource>
</td>
<td style="border-top-width: 2px; border-left-width: 2px; border-left-color: #ffffff; border-bottom-width: 2px; border-bottom-color: steelblue; border-top-color: #ffffff; border-right-width: 2px; border-right-color: #ffffff; text-align: center;" valign="top" width="400">
<asp:Panel ID="panelControls" runat="server" Height="100%" Width="100%" HorizontalAlign="Left" BorderStyle="None">
<table style="background-color: lightgrey; border-right: black 1px solid; padding-right: 0px; border-top: black 1px solid; padding-left: 0px; padding-bottom: 0px; margin: 0px; border-left: black 1px solid; padding-top: 0px; border-bottom: black 1px solid;">
<tr>
<td style="background-image: url(Images/CD/monthView_header.jpg); background-repeat: repeat-x;
text-align: center; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; vertical-align: top;" valign="top">
<span style="font-size: 11pt; color: #ffffff; font-family: Verdana"><strong>
<div style="text-align: left">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
</td>
<td style="width: 98%; text-align: center">
Structure
Editor </td>
<td style="width: 1%">
<asp:ImageButton ID="ImageButton5" runat="server" Height="24px" ImageUrl="~/Images/hh-walkthrough.png"
OnClick="ImageButton5_Click" Style="behavior: url(PngBehaviour.htc)" Width="24px" /></td>
</tr>
</table>
</div>
</strong></span></td>
</tr>
<tr>
<td style="background-color: firebrick">
<span style="font-size: 10pt; color: #ffffff; font-family: Verdana"></span>
<table style="width: 100%">
<tr>
<td style="text-align: left" valign="bottom">
<span style="font-size: 10pt; color: #ffffff; font-family: Verdana">Activities</span></td>
<td style="text-align: right" valign="bottom">
<asp:ImageButton ID="ImageButton1" runat="server" Height="24px" ImageUrl="~/Images/cc-insertLeft.png"
Style="behavior: url(PngBehaviour.htc)" Width="24px" BorderColor="#E0E0E0" BorderStyle="None" BorderWidth="1px" OnClick="ImageButton1_Click" ToolTip="Insert left" />
</td>
<td style="text-align: left" valign="bottom">
<strong><span style="font-size: 10pt; color: #ffffff; font-family: Verdana">
<asp:ImageButton ID="ImageButton2" runat="server" Height="24px" ImageUrl="~/Images/cc-insertRight.png"
Style="behavior: url(PngBehaviour.htc)" Width="24px" BorderColor="#E0E0E0" BorderStyle="None" BorderWidth="1px" OnClick="ImageButton2_Click" ToolTip="Insert right" /></span></strong></td>
<td style="text-align: right" valign="bottom">
<asp:Menu ID="menuActivityDelete" runat="server" OnMenuItemClick="menuActivityDelete_MenuItemClick" Width="1px" Font-Names="Verdana" Font-Size="10pt">
<Items>
<asp:MenuItem Text=" " Value="Delete" Selectable="False" ImageUrl="~/Images/cc-DeleteActv.gif">
<asp:MenuItem Text="Confirm Delete" Value="Confirm Delete"></asp:MenuItem>
</asp:MenuItem>
</Items>
<DynamicHoverStyle Font-Bold="True" BackColor="Red" />
<DynamicSelectedStyle Font-Bold="True" ForeColor="White" />
<DynamicMenuItemStyle BackColor="LightSalmon" BorderColor="Transparent" BorderStyle="None"
BorderWidth="1px" ForeColor="Black" />
<StaticHoverStyle BorderColor="SteelBlue" BorderStyle="Solid" BorderWidth="1px" />
<DynamicMenuStyle BackColor="LightCoral" />
</asp:Menu>
</td>
</tr>
</table>
<asp:DropDownList ID="DropDownListCampus" runat="server" DataSourceID="SqlDataSourceCampus"
DataTextField="DESCR" DataValueField="ID" OnSelectedIndexChanged="DropDownListCampus_SelectedIndexChanged" ToolTip="Campus" Width="100%">
</asp:DropDownList></td>
</tr>
<tr>
<td valign="top">
<table style="width: 100%; background-color: darkgray;">
<tr>
<td colspan="3">
<asp:DropDownList ID="drplstTerms" runat="server" DataSourceID="SqlDataSourceTerms"
DataTextField="Descr" DataValueField="ID" Font-Names="Verdana" Font-Size="8pt"
Width="100%" OnSelectedIndexChanged="drplstTerms_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 15px">
<asp:ImageButton ID="ImageButton3" runat="server" Height="24px" ImageUrl="~/Images/cc-CyclesAssign.png"
Style="behavior: url(PngBehaviour.htc)" Width="24px" BorderColor="#E0E0E0" BorderStyle="None" BorderWidth="1px" OnClick="ImageButton3_Click" ToolTip="Assign cycle template" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="background-color: firebrick">
<table style="width: 100%">
<tr>
<td style="text-align: left" valign="bottom">
<asp:Label ID="lblContacts" runat="server" Text="Contacts" Font-Bold="False" Font-Names="Verdana" Font-Size="10pt" ForeColor="White"></asp:Label></td>
<td style="width: 247px; text-align: center" valign="bottom">
<strong><span style="font-size: 10pt; color: #ffffff; font-family: Verdana">
<asp:ImageButton ID="ImageButton4" runat="server" Height="24px" ImageUrl="~/Images/cc-AddContact.png"
OnClick="ImageButton4_Click1" Style="behavior: url(PngBehaviour.htc)" ToolTip="Add new contact"
Width="24px" /></span></strong></td>
<td style="text-align: right" valign="bottom">
<asp:Menu ID="menuDeleteContacts" runat="server" OnMenuItemClick="menuDeleteContacts_MenuItemClick" Width="1px" Font-Names="Verdana" Font-Size="10pt">
<Items>
<asp:MenuItem Text=" " Value="Delete" Selectable="False" ImageUrl="~/Images/cc-DeleteContact.gif">
<asp:MenuItem Text="Confirm Delete" Value="Confirm Delete"></asp:MenuItem>
</asp:MenuItem>
</Items>
<DynamicHoverStyle BackColor="Red" Font-Bold="True" />
<DynamicSelectedStyle Font-Bold="True" ForeColor="White" />
<DynamicMenuItemStyle BackColor="LightSalmon" BorderColor="Transparent" BorderStyle="None"
BorderWidth="1px" ForeColor="Black" />
<StaticHoverStyle BorderColor="SteelBlue" BorderStyle="Solid" BorderWidth="1px" />
<DynamicMenuStyle BackColor="LightCoral" />
</asp:Menu>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table style="width: 100%; height: 1px; font-size: 8pt; font-family: Verdana; border-right: Darkgray 1px solid; border-top: Darkgray 1px solid; border-left: Darkgray 1px solid; border-bottom: Darkgray 1px solid; background-color: darkgray;">
<tr>
<td align="right" colspan="6" style="text-align: center; height: 18px;">
<strong>
<span style="font-family: Verdana">
<asp:Label ID="lblContactsHeaderText" runat="server" Text="New contact details"></asp:Label>
</span></strong></td>
</tr>
<tr>
<td style="width: 204px; text-align: left; height: 21px;">
<strong>
Type</strong></td>
<td colspan="5" style="height: 21px; text-align: left">
<asp:DropDownList ID="drplstCntcType" runat="server" DataSourceID="SqlDataSourceCntcTypes"
DataTextField="Description" DataValueField="ID" Font-Names="Verdana" Font-Size="8pt"
Height="20px" Width="100%">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 204px; text-align: left; height: 23px;">
<asp:Label ID="lblPaper_Duration" runat="server" Font-Bold="True" Text="Duration"></asp:Label></td>
<td style="width: 204px; text-align: left; height: 23px;">
<asp:DropDownList ID="drplstDuration" runat="server" Font-Names="Verdana" Font-Size="8pt"
Width="54px" OnSelectedIndexChanged="drplstDuration_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 204px; height: 23px;">
<asp:Label ID="lblgroups" runat="server" Text="Groups" Font-Bold="True"></asp:Label></td>
<td style="width: 200px; height: 23px;">
<asp:TextBox ID="txtbxGrps" runat="server" AutoPostBack="True" Font-Names="Verdana"
Font-Size="8pt" Height="13px" MaxLength="2"
Width="31px">1</asp:TextBox></td>
<td style="width: 200px; height: 23px;">
</td>
<td style="width: 159px; height: 23px;">
</td>
</tr>
<tr>
<td colspan="6" style="text-align: center;" valign="top">
<asp:ListBox ID="lstBoxCampus" runat="server" DataSourceID="SqlDataSourceCampus"
DataTextField="DESCR" DataValueField="ID" SelectionMode="Multiple" Height="55px" ToolTip="Campus" Width="100%"></asp:ListBox><br />
</td>
</tr>
</table>
</td>
</tr>
</table>
<asp:Button ID="btnAddNewContact" runat="server" OnClick="btnAddNewContact_Click" Text="Add New Contact"
Width="140px" BackColor="AliceBlue" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" Height="25px" Visible="False" /><br />
<table border="0" cellpadding="2" cellspacing="0" style="color: white; width: 1%; visibility: hidden;">
<tr>
<td background="Images/cd/monthView_header.jpg" colspan="4" style="height: 20px; text-align: center">
<span style="font-size: 10pt; font-family: Verdana"><strong style="color: white">Structure</strong></span></td>
</tr>
<tr>
<td bgcolor="DarkGray" colspan="4" style="border-right: DarkGray 1px solid; border-top: DarkGray 1px solid;
border-left: DarkGray 1px solid; border-bottom: DarkGray 1px solid">
<table align="left" border="0" cellpadding="2" cellspacing="0" width="99%">
<tr>
<td align="right" colspan="4" style="width: 267px; text-align: center; height: 23px;">
<span style="font-size: 10pt; font-family: Verdana">Activities</span></td>
</tr>
<tr>
<td align="right" colspan="4" style="width: 267px; height: 29px; text-align: center">
</td>
</tr>
<tr>
<td align="right" colspan="4" style="width: 267px; height: 29px; text-align: center">
<asp:Button ID="btnWalkthrough" runat="server" OnClick="btnWalkthrough_Click" Text="Walkthrough" BackColor="AliceBlue" BorderStyle="Solid" BorderColor="CornflowerBlue" BorderWidth="1px" Width="140px" Height="25px" /></td>
</tr>
<tr>
<td align="right" colspan="4" style="text-align: center; height: 29px; width: 267px;">
<br />
<asp:Button ID="btnInsertLeft" runat="server" OnClick="btnInsertLeft_Click" Text="Insert Left" BackColor="AliceBlue" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt" ForeColor="Black" Width="80px" Height="25px" /></td>
</tr>
<tr>
<td align="right" colspan="4" style="text-align: center; width: 267px;">
<asp:Button ID="btnRight" runat="server" OnClick="btnRight_Click" Text="Insert Right" BackColor="AliceBlue" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt" ForeColor="Black" Width="80px" Height="25px" /></td>
</tr>
<tr>
<td align="right" colspan="4" style="text-align: center; width: 267px;">
<asp:SqlDataSource ID="SqlDataSourceTerms" runat="server" ConnectionString="Data Source=(local);Initial Catalog=TTBLv3QM;Persist Security Info=True;User ID=o;Password=abacus"
ProviderName="System.Data.SqlClient" SelectCommand="select distinct ID, Descr from tbl_term order by Descr " OnSelecting="SqlDataSourceTerms_Selecting">
</asp:SqlDataSource>
<asp:Button ID="btnAssignTerm" runat="server" OnClick="btnAssignTerm_Click" Text="Assign Term" BackColor="AliceBlue" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt" ForeColor="Black" Width="140px" Height="25px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 20px">
</td>
<td style="width: 43px; height: 20px">
</td>
<td style="width: 100px; height: 20px">
</td>
<td style="height: 20px">
</td>
</tr>
<tr>
<td background="Images/cd/monthView_header.jpg" colspan="4" style="height: 20px; text-align: center">
<span style="font-size: 10pt; font-family: Verdana"></span></td>
</tr>
<tr>
<td bgcolor="DarkGray" colspan="4" style="border-right: Darkgray 1px solid; border-top: Darkgray 1px solid;
border-left: Darkgray 1px solid; border-bottom: Darkgray 1px solid">
<table align="left" border="0" cellpadding="2" cellspacing="0" width="99%">
<tr>
<td align="left" colspan="2" style="text-align: center">
<asp:SqlDataSource ID="SqlDataSourceCntcTypes" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
SelectCommand="Select ID, Descr Description From TBL_CNTC_TYP ORDER BY Description">
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="left" colspan="4" style="text-align: center">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 59px; height: 20px">
</td>
<td style="width: 43px; height: 20px">
</td>
<td style="width: 100px; height: 20px">
</td>
<td style="height: 20px">
</td>
</tr>
<tr>
<td background="Images/CD/monthView_header.jpg" colspan="4" style="height: 20px; text-align: center">
<span style="font-size: 10pt; font-family: Verdana"><strong>Module</strong></span></td>
</tr>
<tr>
<td bgcolor="DarkGray" colspan="4" style="border-right: Darkgray 1px solid; border-top: Darkgray 1px solid;
border-left: Darkgray 1px solid; border-bottom: Darkgray 1px solid">
<table align="left" border="0" cellpadding="2" cellspacing="0" width="99%">
<tr>
<td align="right" colspan="4" style="text-align: center">
</td>
</tr>
<tr>
<td align="right" colspan="4" style="text-align: center; height: 29px;">
<asp:Button ID="btnNew" runat="server" OnClick="btnNew_Click" Text="Add New Module"
Width="140px" BackColor="Darkgray" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" Height="25px" /></td>
</tr>
<tr>
<td align="right" colspan="4" style="text-align: center; height: 48px;">
<asp:Menu ID="menuSubjectDelete" runat="server" Font-Names="Verdana" Font-Size="10pt"
OnMenuItemClick="menuSubjectDelete_MenuItemClick" Orientation="Horizontal" SkipLinkText="" ForeColor="Black" Width="140px" BackColor="Darkgray" Height="25px">
<StaticMenuItemStyle BorderStyle="Solid" HorizontalPadding="5px" VerticalPadding="2px" BackColor="Darkgray" BorderColor="CornflowerBlue" BorderWidth="1px" />
<DynamicHoverStyle BackColor="DarkGray" BorderColor="Transparent" BorderStyle="None"
ForeColor="White" Font-Bold="True" />
<DynamicMenuStyle BackColor="Darkgray" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
<StaticSelectedStyle BackColor="Darkgray" BorderStyle="None" />
<DynamicSelectedStyle BackColor="DarkGray" BorderStyle="Solid" BorderWidth="1px" Font-Bold="True" ForeColor="White" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" BackColor="White" BorderColor="SteelBlue" BorderStyle="Solid" BorderWidth="1px" ForeColor="DarkGray" />
<Items>
<asp:MenuItem Text="Delete Module" Value="Delete" Selectable="False">
<asp:MenuItem Text="Confirm Delete" Value="Confirm Delete"></asp:MenuItem>
</asp:MenuItem>
</Items>
<StaticHoverStyle BorderStyle="Double" />
</asp:Menu>
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
<asp:SqlDataSource ID="SqlDataSourceCampus" runat="server" ConnectionString="Data Source=(local);Initial Catalog=oDirectv3;Persist Security Info=True;User ID=o;Password=abacus"
SelectCommand="SELECT ID, DESCR FROM TBL_CMPS ORDER BY DESCR">
</asp:SqlDataSource>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Menu ID="Menu1" runat="server" BackColor="DarkGray" Font-Bold="False" Font-Names="Verdana"
Font-Size="12pt" ForeColor="White" Orientation="Horizontal" Height="3px" Visible="False">
<StaticMenuItemStyle BorderColor="DarkGray" BorderStyle="None"
HorizontalPadding="5px" VerticalPadding="2px" BackColor="DarkGray" ForeColor="White" ItemSpacing="5px" />
<StaticSelectedStyle BackColor="DarkGray" BorderColor="DarkGray" BorderStyle="None" ForeColor="White" />
<Items>
<asp:MenuItem Selected="True" Text="Structure" Value="Structure" NavigateUrl="~/SubjectStruct.aspx"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/SubjectStreams.aspx" Text="Streams" Value="STREAMS"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/SubjectKA.aspx" Text="Keep Apart" Value="Keep Apart"></asp:MenuItem>
<asp:MenuItem NavigateUrl="SubjectVenues.aspx" Text="Venues" Value="VENUES"></asp:MenuItem>
<asp:MenuItem NavigateUrl="SubjectStaff.aspx" Text="Staff" Value="STAFF"></asp:MenuItem>
<asp:MenuItem Text="Locks" Value="Locks" NavigateUrl="~/SubjectCons.aspx"></asp:MenuItem>
<asp:MenuItem Text="Curricula" Value="CURRICULA" NavigateUrl="SubjectCurr.aspx"></asp:MenuItem>
</Items>
<StaticHoverStyle BackColor="DarkGray" BorderColor="DarkGray" BorderStyle="None" ForeColor="White" BorderWidth="1px" />
</asp:Menu>
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/icons/Warning48.png" Visible="False" />
<asp:Label ID="lblmessage" runat="server" Visible="False"></asp:Label>
</asp:Content>
I have wrapped all the controls in this page with a updatepanel and as you can see this is a content page of the master page. Now before I had no updatepanel and all the controls are alive and active, after I added a updatepanel I have several controls that does not respond. One of them is the menuActivityDelete, this menu hovers onmouse over , but after the addition of update panel there is no hovering and the grid in the usercontrol does not respond. Now I debugged it by putting a break point and I checked the code behind and It does executes the code but gui stays as freezed.
Thank you