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

Updating masterpage from any button included in content page

3 Answers 28 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
luc bonenfant
Top achievements
Rank 1
luc bonenfant asked on 01 Jul 2015, 02:25 PM

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.

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 02 Jul 2015, 08:56 AM
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
0
luc bonenfant
Top achievements
Rank 1
answered on 02 Jul 2015, 03:47 PM

Exactly...

Thank you.

 

0
Maria Ilieva
Telerik team
answered on 03 Jul 2015, 08:11 AM
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
Tags
Ajax
Asked by
luc bonenfant
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
luc bonenfant
Top achievements
Rank 1
Share this question
or