Hi together,
we have the following scenario in our Web Application.
Masterpage with 4 ContentPlaceholders, every page uses the masterpage.
We would like to update a label that is placed outside from the RadAjaxPanel.
Please look at the following code, in this case we click on "cmdTabOne" the
"cmdTabOne_Click" event fires fine and the "lblHeadline" label will be updated correct.
The Label "lblContextInfo" which is outside from the RadAjaxPanel will not updated.
<asp:Content ID="Content0" ContentPlaceHolderID="head" Runat="Server"> |
... |
</asp:Content> |
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderPlaceHolder" Runat="Server"> |
... |
</asp:Content> |
<asp:Content ID="Content2" ContentPlaceHolderID="leftPanelPanel" Runat="Server"> |
<div> |
<asp:Label ID="lblContextInfo" runat="server" Text=""></asp:Label> |
</div> |
</asp:Content> |
<asp:Content ID="Content2" ContentPlaceHolderID="leftPanelContent" Runat="Server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> |
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> |
// Main Content |
<div> |
<asp:Label ID="lblHeadline" runat="server" Text=""></asp:Label> |
</div> |
<div> |
<asp:LinkButton ID="cmdTabOne" runat="server" CssClass="Tab_active" onclick="cmdTabOne_Click">Tab One</asp:LinkButton> |
<asp:LinkButton ID="cmdTabTwo" runat="server" CssClass="Tab_inactive" onclick="="cmdTabTwo_Click">Tab Two</asp:LinkButton> |
</div> |
</telerik:RadAjaxPanel> |
</asp:Content> |
protected void cmdTabOne_Click(object sender, EventArgs e) |
{ |
lblHeadline.Text = "Headline for Tab One"; |
lblContextInfo.Text = "Contextinfo for Tab One"; |
} |
protected void cmdTabTwo_Click(object sender, EventArgs e) |
{ |
lblHeadline.Text = "Headline for Tab Two"; |
lblContextInfo.Text = "Contextinfo for Tab Two"; |
} |
Any Ideas?
Thank you for your help.
Best regards
Günter