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

Newbie question: Simplest way to update a panel?

1 Answer 54 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 11 Oct 2010, 04:19 PM
I have a MasterPage with a textbox I want to update with a message whenever something goes wrong.

The idea would be to have some method like

public void SetMessage(string message)
{
     alert.InnerText = message;
     UpdatePanel(AlertPanel);
}

in the MasterPage, and call it whenever I want to update my message from anywhere. What would be the simplest way to achieve this with RadAjaxPanel controls?

(I'm new at Rad controls, so other controls are fine as long as they achieve what I want)

thanks!

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 Oct 2010, 07:58 AM
Hello Nicolas,


Go through the documentation to know how to ajaxify the control in masterpage using AjaxManager control.
MasterPages: ajaxify and update controls in master and content page


-Shinu.
Tags
Ajax
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or