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

Master/ContenPage ajaxfied ContentPlace

5 Answers 77 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 18 Jun 2009, 01:38 PM
Dear All,

I have the following behaviour:

I have a Masterpage with an AjaxManager and three ContenPlaceHolder. Every have an ID. On the top of the masterpage I have an Tabstrip with Multipage, Toolbars and Buttons.

So if I click on an button who has an NavigateURL the content is loaded perfectly, but everytime it flickers.
I try to handle this by using the AjaxManager  on the masterpage, but it doesn't work.

I expact the following:

If i insert this code behnd onthe masterpage:

 

                        <telerik:AjaxSetting   
                            AjaxControlID="RadTabStrip1">  
                              
                            <UpdatedControls>                                        
                                <telerik:AjaxUpdatedControl ControlID="ContentPageWorkbench" LoadingPanelID="RadAjaxLoadingPanel1" />                                           
                            </UpdatedControls> 
                                                      
                        </telerik:AjaxSetting>  


I want that only the conetentplaceholder "ContentPageWorkbench" would be updated on the postback and not the whole page .

How can I handle this.

Thanks alot
Christian

 

5 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Jun 2009, 01:40 PM
Hi,

Try adding the tabstrip also to the Updated control collection in the Ajax Manger Settings:

<telerik:AjaxSetting      
                            AjaxControlID="RadTabStrip1">     
                                 
                            <UpdatedControls>                                           
                                <telerik:AjaxUpdatedControl ControlID="ContentPageWorkbench" LoadingPanelID="RadAjaxLoadingPanel1" />     
 
   <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" LoadingPanelID="RadAjaxLoadingPanel1" />                                               
                            </UpdatedControls>    
                                                         
                        </telerik:AjaxSetting>   
 


Thanks,
Princy
0
Christian
Top achievements
Rank 1
answered on 23 Jun 2009, 11:38 AM
Hi Princy,

Thanks for your answer.
Unforunaltly your idea doesn't have any effect on this behavior.

Someone have a hint for me?

Thanks alot.
Christian
0
Accepted
Iana Tsolova
Telerik team
answered on 23 Jun 2009, 01:37 PM
Hi Uwe,

When a control is used to navigate to another page, this could not be performed as asynchronous postback. For the new page to load, it is need full postback. You can use ajax to update certain page content but if you are staying on the same page and this does not require changes in the Url.

I suggest that you review the below online resourcec for more information on ajax:
http://www.telerik.com/help/aspnet-ajax/ajxajax.html
http://www.telerik.com/help/aspnet-ajax/ajxajaxmanager.html
http://www.telerik.com/help/aspnet-ajax/ajxredirectingtoanotherpage.html
http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/firstlook/defaultcs.aspx

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Christian
Top achievements
Rank 1
answered on 23 Jun 2009, 02:12 PM
Dear Lana,

Thanks for your detail info about it.

Meanwhile I found a workarround to prevent the flicker in a master / contentpage behaviour.

Following the code for the aspx master page:
<head id="MasterHead" runat="server">   
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)" />   
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)" />   
</head> 

If you put this code in the header of the master page it will prevent the flicker.

Thats great and is what I expect.

Hopfully its interesting for you. :)

Thanks alot for supporting me.

Christian
0
Iana Tsolova
Telerik team
answered on 24 Jun 2009, 06:45 AM
Hi Uwe,

I am happy to hear you have found a suitable solution for your case. And thank you for sharing your experience with the community.

Do not hesitate to write us again if any questions arise.

Kind regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Christian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Christian
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or