Below is the scenario that I am not able to solve.
1. Master/Content Page setup.
2. Content Page has the RadAjaxManager object and a web user control (lets call it ucMaster)
3. ucMaster contains 3 other user controls, uc1, uc2 and uc3. uc2 and uc3 are displayed based on a selection in ucMaster. Both are loaded but the .Visible property is used to hide one or the other control.
4. uc1 has the RadAjaxManagerProxy1 and uses a radWindow dialog to get values and update the panel via ajaxrequest. (Works fine)
5. uc3 has the RadAjaxManagerProxy2, and uses a radWindow dialog to get values and update the panel via ajaxrequest. The "UpdatedControls" section uses the radAjaxManagerProxy2 as the "AjaxControlID" so that the panel is updated when the radWindow dialog is closed. (Does Not Work).
If I include the AJAX Setting in the ascx page under the RadAjaxManagerProxy AjaxSettings section, I get an error when the RadAjaxManagerProxy1 invokes an update for user control uc1. The error is: "Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00xxxxx_grvContactsPanel'. If it is being updated dynamically then it must be inside another UpdatePanel."
If uc3 is visible, the error does not come up.
I removed the "UpdatedControls" section from the radAjaxManagerProxy2.AjaxSetting section and add the control on the server-side in the page "PreRender" event. The code runs, but the panel does not get updated. If I move the server-side code to the "ajaxRequest" event handler I get the same error as before.
Any help with this will be greatly appreciated!
Thank you.
1. Master/Content Page setup.
2. Content Page has the RadAjaxManager object and a web user control (lets call it ucMaster)
3. ucMaster contains 3 other user controls, uc1, uc2 and uc3. uc2 and uc3 are displayed based on a selection in ucMaster. Both are loaded but the .Visible property is used to hide one or the other control.
4. uc1 has the RadAjaxManagerProxy1 and uses a radWindow dialog to get values and update the panel via ajaxrequest. (Works fine)
5. uc3 has the RadAjaxManagerProxy2, and uses a radWindow dialog to get values and update the panel via ajaxrequest. The "UpdatedControls" section uses the radAjaxManagerProxy2 as the "AjaxControlID" so that the panel is updated when the radWindow dialog is closed. (Does Not Work).
If I include the AJAX Setting in the ascx page under the RadAjaxManagerProxy AjaxSettings section, I get an error when the RadAjaxManagerProxy1 invokes an update for user control uc1. The error is: "Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00xxxxx_grvContactsPanel'. If it is being updated dynamically then it must be inside another UpdatePanel."
If uc3 is visible, the error does not come up.
I removed the "UpdatedControls" section from the radAjaxManagerProxy2.AjaxSetting section and add the control on the server-side in the page "PreRender" event. The code runs, but the panel does not get updated. If I move the server-side code to the "ajaxRequest" event handler I get the same error as before.
Any help with this will be greatly appreciated!
Thank you.