This is a migrated thread and some comments may be shown as answers.

Error at Telerik.Web.UI.ProxyScriptControl.GetChildScriptDescriptorsRecursive(Control parent, ArrayList scriptDescriptors)

4 Answers 42 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Alper
Top achievements
Rank 1
Alper asked on 26 Feb 2020, 08:30 AM

Hi;

I am using a component that inherit IExtenderControl (AjaxControlToolkit) . when i add my control in to radajaxmanager updated controls or if i use mycontrol in dynamically loaded usercontrol by RadTab & RadMultiPage i am getting error of Unable to cast object of type 'GoogleMaps.Markers.GoogleMarkers' to type 'System.Web.UI.ExtenderControl'.

When i check the error detail by AsyncPostBackError event, i found that error comes from Telerik.Web.UI.ProxyScriptControl.GetChildScriptDescriptorsRecursive(Control parent, ArrayList scriptDescriptors).

Is there any workaround for this kind of problems?

4 Answers, 1 is accepted

Sort by
0
Alper
Top achievements
Rank 1
answered on 26 Feb 2020, 09:00 AM

Old but same problem link is

https://dnntracker.atlassian.net/browse/DNN-25819

0
Rumen
Telerik team
answered on 28 Feb 2020, 02:36 PM

Hi Alper,

I hope you are well!

I am afraid that you have hit a limitation because the AjaxToolkit controls are not compatible with the Telerik ASP.NET AJAX ones and vice versa.

The ToolkitScriptManager which is a must for the AjaxControlToolkit controls is not supported by the Telerik controls as the AjaxControlTolkit is known to cause problems with MS AJAX: http://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/general-troubleshooting#telerik-controls-are-incompatible-with-ajax-control-toolkit.

The AjaxControlToolkit outputs overrides to core MS AJAX methods that our controls rely on and thus can break them. This has been reported to happen even if you do not explicitly use its controls, the mere presence of its assembly is enough.

I am deeply sorry for not being of much help here, but it is not always possible to support all third-party frameworks and solutions on the market.

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
0
Alper
Top achievements
Rank 1
answered on 28 Feb 2020, 03:43 PM

Thank you for information... Then is it possible to ask another question to solve this problem?

This control is in a usercontrol in a radmultipage. As i know it's impossible to add pageviews to updated controls. 

But i don't know if possible to exclude a pageview from ajaxifying.. Can you suggest a way to solve this?

0
Rumen
Telerik team
answered on 02 Mar 2020, 02:14 PM

You are welcome, Alper!

The pageviews can be added dynamically as shown at Dynamic PageView Creation via AJAX, but they cannot be AJAX-enabled separately.

If the MultiPage is Ajax enabled, then with JS it should be disabled, when the postback is triggered by the desired pageview similar to Export from Ajaxified Grid.

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
Tags
Ajax
Asked by
Alper
Top achievements
Rank 1
Answers by
Alper
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or