Master/ContenPage ajaxfied ContentPlace

6 posts, 1 answers
  1. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 18 Jun 2009 Link to this post

    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

     

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Jun 2009 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 23 Jun 2009 Link to this post

    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
  5. Answer
    Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 23 Jun 2009 Link to this post

    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.
  6. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 23 Jun 2009 Link to this post

    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
  7. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 24 Jun 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017