I have a page with a usercontrol on (MyUserControl). MyUserControl is able to raise a "custom" event which is handled by the page code-behind.
Both MyUserControl and page have RadAjaxManagerProxy controls (the main page is controlled by a master page.)
Here is the process:
MyUserControl initiates an ajaxrequest through client-side script:
This is then dealt with by MyUserControl in its code behind.
For info, the RaiseSaved sub call is for raising the MyUserControl OnUpdated event. The Refresh() sub call just refreshes controls in MyUserControl.
The event is then handled by the code behind in the main page:
The event is definitely firing as the "MyUserControl.Visible = False" statement hides MyUserControl.
However, the control on the main page (RebindStatus) is not being updated and this is the problem. I need to be able to update this (and any other) control on the main page.
For info, RebindStatus is another usercontrol which has a custom property that updates a label in the RebindStatus control.
I have probably got the Ajax settings incorrect. For the RadAjaxManagerProxy on MyUserControl:
NB. MasterPageAjaxManager is the name of the RadAjaxManager on the MasterPage controlling the main page.
For the RadAjaxManagerProxy on the main page:
How can I update the RebindStatus control from the event raised by MyUserControl? To confirm, the OnUpdated event is firing, but no controls on the main page can be updated from this event.
thanks
Graham.