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

radmultipage and radtabstrip refresh all page on postback in content page

1 Answer 279 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Davide asked on 10 Nov 2012, 11:26 AM
I have the following example code in content page:

 function pbBtn1() {
         __doPostBack("button1", "")
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" >
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <telerik:AjaxSetting AjaxControlID="button1">
                    <telerik:AjaxUpdatedControl ControlID="rts"
                        LoadingPanelID="RadAjaxLoadingPanel3" />
                    <telerik:AjaxUpdatedControl ControlID="rmp" LoadingPanelID="RadAjaxLoadingPanel3" />
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel3" runat="server" />
        <div class="mainContent_bg" >
            <div class="mainContentContainerContent">
               <div class="spessore10"></div>              
                    <br />
                     <br />
                  <div id="xls">
                            <telerik:RadTabStrip ID="rts" runat="server" MultiPageID="rmp" OnClientTabSelected="pbBtn1">
                            <telerik:RadTab Text="page1" selected="true" PageViewID="page1"></telerik:RadTab>
                            <telerik:RadTab Text="page2" selected="false" PageViewID="page2"></telerik:RadTab>
                            <telerik:RadMultiPage ID="rmp" runat="server">
                                <telerik:RadPageView runat=server ID="page1" Selected=true BorderColor="Black" Height=500 BackColor="Gray">
                                 <asp:Label ID=lb1 runat=server  Text="Label1 base"></asp:Label>
                                 <br />
                                <telerik:RadPageView runat=server ID="page2" BorderColor="Black" Height=500 BackColor="Gray">
                                    <asp:Label ID=lb2 runat=server  Text="Label2 base"></asp:Label>
                                   <br />
                                    <br />
                  <telerik:radButton ID="button1" runat="server"  Text=button1 />
                  <asp:Button ID="button2" runat="server"  OnClientClick="pbBtn1()" Text=button2  />
For my project I need to refresh only radTabStrip e radmultipge when I do button1 postback ... if I write this code in aspx page without masterpage it works. m
I also try to write radscriptManager on masterpage and to use radAjaxManagerProxy in content page but it does not work.
What  I do wrong? 



1 Answer, 1 is accepted

Sort by
Telerik team
answered on 15 Nov 2012, 07:31 AM
Hello Davide,

Please note that the mentioned controls are more specific for ajaxification and should be included in the AjaxSettings of the manager as demonstrated in the following topic:

You are correct about using the RadAjaxManagerProxy in the content page. RadScriptManager, as well as the RadAjaxManager, should be placed in the Master Page:

I hope this will prove helpful.

the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question