I know RadAJAXManager uses updatepanels internally was wondering if there is an easier manner in which to set the ChildrenAsTriggers property other than programatically using the OnAjaxSettingCreated event? Could there be property added to the AjaxUpdatedControl class?
Matt, I don't think there is any better way to set it. The OnAjaxSettingCreated works fine for me when I want to set something like that.
I'm not sure about the addition to the object but to me it sounds that there may be some side effects. Having in mind that we as users do not have control over how and if the update triggers will be set and used which will make the panel with ChildrenAsTriggers set to false useless.
The problem I have is I need this for use with UserControls and the event available is only for the RadAJAXManager and not on the RadAJAXManagerProxy, otherwise I would use the event. I'm not sure why providing us easier access to this property would cause potential side effects.
Actually you can use the RadAjaxManager.GetCurrent (similar to the ScriptManager) to get the page's current instance of RadAjaxManager. Then you need simple to hook to the event
RadAjaxManager.GetCurrent(Page).AjaxSettingCreated += new RadAjaxControl.AjaxSettingCreatedDelegate(AjaxSettingCreated);