Apr 17, 2009, 3:48 AM
[CLOSED] Portal / Panel inside an Updatepanel
Hello,
If you put a portal / panel control inside an updatepanel, after postback controls disappear without an error. (SVN 1316)
Please note there is no problem with V7.0.
If you put a portal / panel control inside an updatepanel, after postback controls disappear without an error. (SVN 1316)
Please note there is no problem with V7.0.
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional">
** * * * * *<ContentTemplate><asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
** * * * * * * *<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
** * * * * * * *<br />
** * * * * * * *<br />
** * * * * * * *<ext:Portal ID="Portal1" runat="server" Title="Portal">
** * * * * * * * * *<Body>
** * * * * * * * * * * *<ext:ColumnLayout runat="server">
** * * * * * * * * * * * * *<ext:LayoutColumn ColumnWidth=".33">
** * * * * * * * * * * * * * * *<ext:PortalColumn runat="server" StyleSpec="padding:10px 0 10px 10px">
** * * * * * * * * * * * * * * * * *<Body>
** * * * * * * * * * * * * * * * * * * *<ext:AnchorLayout runat="server">
** * * * * * * * * * * * * * * * * * * * * *<ext:Anchor Horizontal="100%">
** * * * * * * * * * * * * * * * * * * * * * * *<ext:Portlet runat="server" Title="Portlet 1">
** * * * * * * * * * * * * * * * * * * * * * * *<Body>
** * * * * * * * * * * * * * * * * * * * * * * * * *<asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
** * * * * * * * * * * * * * * * * * * * * * * *</Body>
** * * * * * * * * * * * * * * * * * * * * * * *</ext:Portlet>
** * * * * * * * * * * * * * * * * * * * * *</ext:Anchor>
** * * * * * * * * * * * * * * * * * * * * *<ext:Anchor Horizontal="100%">
** * * * * * * * * * * * * * * * * * * * * * * *<ext:Portlet runat="server" Title="Portlet 2" />
** * * * * * * * * * * * * * * * * * * * * *</ext:Anchor>
** * * * * * * * * * * * * * * * * * * *</ext:AnchorLayout>
** * * * * * * * * * * * * * * * * *</Body>
** * * * * * * * * * * * * * * *</ext:PortalColumn>
** * * * * * * * * * * * * *</ext:LayoutColumn>
** * * * * * * * * * * * * *<ext:LayoutColumn ColumnWidth=".33">
** * * * * * * * * * * * * * * *<ext:PortalColumn runat="server" StyleSpec="padding:10px 0 10px 10px">
** * * * * * * * * * * * * * * * * *<Body>
** * * * * * * * * * * * * * * * * * * *<ext:AnchorLayout runat="server">
** * * * * * * * * * * * * * * * * * * * * *<ext:Anchor Horizontal="100%">
** * * * * * * * * * * * * * * * * * * * * * * *<ext:Portlet runat="server" Title="Portlet 3" />
** * * * * * * * * * * * * * * * * * * * * *</ext:Anchor>
** * * * * * * * * * * * * * * * * * * *</ext:AnchorLayout>
** * * * * * * * * * * * * * * * * *</Body>
** * * * * * * * * * * * * * * *</ext:PortalColumn>
** * * * * * * * * * * * * *</ext:LayoutColumn>
** * * * * * * * * * * * * *<ext:LayoutColumn ColumnWidth=".33">
** * * * * * * * * * * * * * * *<ext:PortalColumn runat="server" StyleSpec="padding:10px">
** * * * * * * * * * * * * * * * * *<Body>
** * * * * * * * * * * * * * * * * * * *<ext:AnchorLayout runat="server">
** * * * * * * * * * * * * * * * * * * * * *<ext:Anchor Horizontal="100%">
** * * * * * * * * * * * * * * * * * * * * * * *<ext:Portlet runat="server" Title="Portlet 4" />
** * * * * * * * * * * * * * * * * * * * * *</ext:Anchor>
** * * * * * * * * * * * * * * * * * * *</ext:AnchorLayout>
** * * * * * * * * * * * * * * * * *</Body>
** * * * * * * * * * * * * * * *</ext:PortalColumn>
** * * * * * * * * * * * * *</ext:LayoutColumn>
** * * * * * * * * * * *</ext:ColumnLayout>
** * * * * * * * * *</Body>
** * * * * * * *</ext:Portal>
** * * * * *</ContentTemplate>
** * * *</asp:UpdatePanel>
** * * *protected void Button1_Click(object sender, EventArgs e)
** * * *{
** * * * * *Label1.Text = DateTime.Now.ToString();
** * * * * *Label2.Text = DateTime.Now.ToString();
** * * * * *UpdatePanel1.Update();
** * * *}