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

Problem with RadAjaxManager after upgrade

2 Answers 36 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 15 Aug 2016, 02:03 PM

After upgrading from 2015.3.930.45 to 2016.2.607.45 I get an error when using RadAjaxManager.ResponseScripts.Add

If I rollback the upgrade, it works fine.

I've tried using ScriptManager.RegisterStartupScript instead of RadAjaxManager.ResponseScripts.Add and I don't get an error, but it still doesn't work.

Attached is the error when scripts are combined and when they are not.

Any ideas?  Again, it works fine if I rollback the update.

Thanks,

Sam

2 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 15 Aug 2016, 02:08 PM

The script is just a call to a javascript function:

 

        Me.RadAjaxManagerMain.ResponseScripts.Add("OpenRadWindow('" & Title & "','" & URL & "'," & Height & "," & Width & ", " & IsModal.ToString().ToLower() & ");")

0
Maria Ilieva
Telerik team
answered on 18 Aug 2016, 09:57 AM
Hello,

Based on the provided details it is rather difficult to determine what exactly is causing the issue. Can you please share your page markup including the Ajax settings as well as the related code behind. Thus we will be able to revise your code locally and advise you further.

Regards,
Maria Ilieva
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Ajax
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or