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

Solution - AjaxControlToolKit alongside Telerik

1 Answer 243 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 21 Nov 2017, 04:37 PM

I've seen a few different posts about this, but they are mostly outdated and didn't resolve my issue.  I put together some simple steps we took to make it work.

We had a project that originally used the AjaxControlToolkit on some pages.  All new development used Telerik controls.  There were issues performing Ajax operations despite the AjaxControlToolkit not even being registered on a page.  This was the only fix I could find.

- Remove the existing AjaxControlToolkit reference from the project and delete the AjaxControlToolkit.DLL from the bin directory on the remote server (if it exists)
- Remove any AjaxControlToolkit assembly registrations at the top of the page markup (if they exist)
- Install the AjaxControlToolkit via the NuGet package manager in Visual Studio (update the tag prefix as needed)
- In the MasterPage markup, disable combining scripts in the RadScriptManager
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" EnableScriptCombine="false"></telerik:RadScriptManager>

I hope this helps someone else down the road.  A better solution is to replace the AjaxControlToolkit controls with Telerik controls, but this gets us by until we make time to do that.

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Nov 2017, 06:52 AM
Hi Daniel,

Thank you for sharing your way of using the AjaxControlsToolkit along with Telerik AJAX controls.

I just wanted to add that Telerik UI for ASP.NET AJAX does not support officially the AjaxControlsToolkit and you may experience interoperability problems as explained in this article: Telerik controls are incompatible with Ajax Control Toolkit.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or