Updating masterpage from any button included in content page

4 posts, 0 answers
  1. luc bonenfant
    luc bonenfant avatar
    53 posts
    Member since:
    Sep 2007

    Posted 01 Jul 2015 Link to this post

    Hello,

    I'm using AjaxManager in my MasterPage, and AjaxManagerProxy inside my content pages.

    I would like to update a label (error or success result) included into my masterpage after clicking any button included inside content pages ajaxified.

    But why ajaxify all buttons because each postback done must imperatively refreshing my masterpage label...

    I think i can not write dynamically an ajaxsettings with an unknown AjaxifiedControlID, doesn't it ?

    Thank you.

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 02 Jul 2015 Link to this post

    Hello,

    You can simply wrap the ContentPlaceHolder for the content page in the MasterPage with regular asp Panel and add Ajax setting into the MasterPage in which this asp Panel updates the corresponding label.

    Regards,
    Maria Ilieva
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. luc bonenfant
    luc bonenfant avatar
    53 posts
    Member since:
    Sep 2007

    Posted 02 Jul 2015 in reply to Maria Ilieva Link to this post

    Exactly...

    Thank you.

     

  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 03 Jul 2015 Link to this post

    Hello,

    I'm glad that the suggested solution works fr you.
    Do not hesitate to contact us back in case further assistance is needed.

    Regards,
    Maria Ilieva
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top