load
thedynamicuser controlthat containsUpdatePanel. there isan error
Cannot unregister UpdatePanel with ID 'UpdatePanel2' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel
tugas akhir
Member
2 Points
4 Posts
load the dynamic user control that contains UpdatePanel
Jan 25, 2012 07:41 PM|LINK
load the dynamic user control that contains UpdatePanel. there is an error
Cannot unregister UpdatePanel with ID 'UpdatePanel2' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel
what is the solution for me?
thank's
Panel usercontrol Dynamic update
Hua-Jun Li -...
All-Star
75950 Points
5608 Posts
Re: load the dynamic user control that contains UpdatePanel
Jan 27, 2012 08:21 AM|LINK
Hi,
(1)make sure you have have another scriptmanager in your parent page.
http://msmvps.com/blogs/shareblog/archive/2009/03/11/cannot-unregister-updatepanel-with-id-since-it-was-not-registered-with-the-scriptmanager-and-moss.aspx
http://kruegerwebdesign.com/blog/?p=44
(2)You can load your usercontrol in the parent page oninit page event.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
vijayst
All-Star
16558 Points
3216 Posts
Microsoft
Re: load the dynamic user control that contains UpdatePanel
Jan 30, 2012 05:50 AM|LINK
I created a User control with an UpdatePanel within it. I am able to dynamically add the User control to the control tree.
Please post your code.
Panel usercontrol Dynamic update
http://liteblog.codeplex.com