This is a migrated thread and some comments may be shown as answers.

Updating ContentURL of RadPane from Serverside

1 Answer 148 Views
This is a migrated thread and some comments may be shown as answers.
Tom Ray
Top achievements
Rank 1
Tom Ray asked on 16 Aug 2010, 01:42 PM
I have a button inside another radpane that is calling server side onclick code to change the contenturl of another url.  When I click the button the radpane getting changed does not get updated with the new webpage.   The button is inside a ajaxpane.  Any help to get the contenturl to work is appreciated.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 19 Aug 2010, 12:14 PM
Hello Tom Ray,
In case you have ajaxified the button that changes the ContentUrl property of the RadPane control, you need to make sure that this control (RadPane) is actually updated during the AJAX request. Otherwise, the changes you make to that control will not take effect.

For example, in case you are using a RadAjaxManager control, you have to use the following AjaxSetting:
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <telerik:AjaxSetting AjaxControlID="Button1">
                    <telerik:AjaxUpdatedControl ControlID="RadSplitter1" />
    <telerik:RadSplitter ID="RadSplitter1" runat="server">
        <telerik:RadPane ID="RadPane1" runat="server">
            <asp:Button ID="Button1" runat="server" Text="Change url" OnClick="Button1_Click" />
        <telerik:RadPane ID="RadPane2" runat="server" ContentUrl=""></telerik:RadPane>

Best wishes,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Tom Ray
Top achievements
Rank 1
Answers by
Telerik team
Share this question