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

[Solved] RadComobox/RadUpload Javascript Error

3 Answers 122 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Biju
Top achievements
Rank 1
Biju asked on 27 Apr 2009, 10:28 AM

Hi,
I am facing following 2 problems:

1. I am getting a javascript error " 'AjaxNS' is undefined" when I try to change any value from radcontrol combo box.
Note, I have set UseEmbeddedScripts="false" as earlier I could not see RadControls (e.g. Combo Box).

Also I would like to mention that the same code works on DEV environment but it is not working on Test environment. Is there any settings or security problem?

 

2. I am getting another javascript error " 'Sys' is undefined" when a page with RadUplaod control is opened. Like above scenario, I have set UseEmbeddedScripts="false".

Also I would like to mention that the same code works on DEV environment but it is not working on Test environment. Is there any settings or security problem?

Please let me know the solution.

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 27 Apr 2009, 01:33 PM
Hello Biju,

If you disable the embedded scripts you need to manually include them in order the controls to function properly. Please check this help article: Disabling Embedded Resources

As for the Sys is undefined error - please make sure you have .NET Framework 2.0 installed with Ajax Extensions 1.0 or .NET 3.5

I hope this helps.

Kind regards,
Veselin Vasilev
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
Biju
Top achievements
Rank 1
answered on 28 Apr 2009, 01:13 PM
Hi,
 As for the Sys is undefined error -
 I have checked on my local machine where .NET Framework 2.0 installed but not Ajax Extensions 1.0 .
Still I am not receiving this error, whereas on Server I am receiving Sys undefined error.

How can I check if Ajax Extensions 1.0 installed on my machine. I checked in Assembly I havnt found reference for System.Web.Extensions.
But in my application Bin folder I am using System.Web.Extensions reference.

Is Ajax Extensions 1.0 is mandatory?
0
Veselin Vasilev
Telerik team
answered on 01 May 2009, 11:07 AM
Hi Biju,

Usually, when you install the ASP.NET Ajax Extensions 1.0 the System.Web.Extensions.dll and System.Web.Extensions.Design.dll files are placed in the GAC (%windir%\Assembly).
You can also find a folder ASP.NET 2.0 AJAX Extensions in C:\Program Files\Microsoft ASP.NET

Do you have .NET 3.5 framework on your local machine? If so - it already contains the Ajax framework (System.Web.Extensions.dll 3.5.0.0).

If you build your application in .NET 2.0 - you should install the AJAX Extensions 1.0 on the server from the link I gave you.

Regards,
Veselin Vasilev
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.
Tags
ComboBox
Asked by
Biju
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Biju
Top achievements
Rank 1
Share this question
or