Hi,
Working in VS2008, I have a normal working aspx page with telerik:RadAjaxManager, telerik:RadScriptManager and asp:WebPartManager
Everything works fine until I drop a RadAjaxPanel into a WebZone. Then it blows up with
"Cannot modify the controls collection of a GenericWebPart. To create a new GenericWebPart, use the WebPartManager.CreateWebPart() method"
Markup is
<asp:WebPartZone ID="WebPartZone5" runat="server">
<ZoneTemplate>
<telerik:RadAjaxPanel ID="RadAjaxPanel5" runat="server" ></telerik:RadAjaxPanel>
</ZoneTemplate>
</asp:WebPartZone>
UpdatePanels can go in Webpart zones, what is wrong with the Telerik Panel
Thanks and regards
Gordon
Working in VS2008, I have a normal working aspx page with telerik:RadAjaxManager, telerik:RadScriptManager and asp:WebPartManager
Everything works fine until I drop a RadAjaxPanel into a WebZone. Then it blows up with
"Cannot modify the controls collection of a GenericWebPart. To create a new GenericWebPart, use the WebPartManager.CreateWebPart() method"
Markup is
<asp:WebPartZone ID="WebPartZone5" runat="server">
<ZoneTemplate>
<telerik:RadAjaxPanel ID="RadAjaxPanel5" runat="server" ></telerik:RadAjaxPanel>
</ZoneTemplate>
</asp:WebPartZone>
UpdatePanels can go in Webpart zones, what is wrong with the Telerik Panel
Thanks and regards
Gordon
6 Answers, 1 is accepted
0
Hello Gordon,
Unfortunately you are right. This scenario is not supported by our RadAjaxPanel because it is actually a wrapper around the MS UpdatePanel and injects the real update panel on-the-fly, thus modifying the Controls collection of the GenericWebPart which results in the error you get.
I hope that replacing our ajax panel with MS UpdatePanel in this case (which behaves in the same way) is applicable workaround for you. Please excuse us for not being able to provide more elegant solution for this particular situation.
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Unfortunately you are right. This scenario is not supported by our RadAjaxPanel because it is actually a wrapper around the MS UpdatePanel and injects the real update panel on-the-fly, thus modifying the Controls collection of the GenericWebPart which results in the error you get.
I hope that replacing our ajax panel with MS UpdatePanel in this case (which behaves in the same way) is applicable workaround for you. Please excuse us for not being able to provide more elegant solution for this particular situation.
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rodrigo Rosada
Top achievements
Rank 1
answered on 05 Feb 2014, 03:18 PM
Hi Sebastian,
I'm development an application with Telerik component. And I have the same problem.
That error doesn't solved? Any idea to solve this problem ?
Tks.
I'm development an application with Telerik component. And I have the same problem.
That error doesn't solved? Any idea to solve this problem ?
Tks.
0
Hi Rodrigo,
We made some research on our end in which our development team was actively involved and unfortunately we came to a conclusion that the presented scenario is still not supported with RadAjax. You could see the following help topic where all controls not compatible with ajax are listed:
http://www.telerik.com/help/aspnet-ajax/ajax-controls-not-compatible.html
Accept our apologizes for any incontinence this generic limitation may lead.
Regards,
Maria Ilieva
Telerik
We made some research on our end in which our development team was actively involved and unfortunately we came to a conclusion that the presented scenario is still not supported with RadAjax. You could see the following help topic where all controls not compatible with ajax are listed:
http://www.telerik.com/help/aspnet-ajax/ajax-controls-not-compatible.html
Accept our apologizes for any incontinence this generic limitation may lead.
Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Rodrigo Rosada
Top achievements
Rank 1
answered on 07 Feb 2014, 01:00 PM
Hi Maria,
Ok tks for your reply. I looked the list and there aren't have the UserControl in the list.
Do you know if i can use this control in my application?
Tks.
Ok tks for your reply. I looked the list and there aren't have the UserControl in the list.
Do you know if i can use this control in my application?
Tks.
0
Rodrigo Rosada
Top achievements
Rank 1
answered on 07 Feb 2014, 01:02 PM
Hi Maria again,
Do you know if we have another way to use this control in our application.
We need use this control. Any ideia?
Tks.
Do you know if we have another way to use this control in our application.
We need use this control. Any ideia?
Tks.
0
Hello Rodrigo,
User Controls are fully compatible with RadAjax. You could see more information for using UserControls with RadAjax in the topics below:
http://www.telerik.com/help/aspnet-ajax/ajax-user-controls.html
Regards,
Maria Ilieva
Telerik
User Controls are fully compatible with RadAjax. You could see more information for using UserControls with RadAjax in the topics below:
http://www.telerik.com/help/aspnet-ajax/ajax-user-controls.html
Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.