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

Problem with RadScriptManager (Q1 2008)

5 Answers 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Darren Ratcliffe
Top achievements
Rank 1
Darren Ratcliffe asked on 20 Oct 2008, 04:02 PM
Hello

I was wondering if you could help me - I've got a really strange problem that I haven't had before with the same version of Rad Controls.

When I add the script manager to my master page, I start to get three javascript errors:

http://cardealeroldham.autofantastic.co.uk/

I've no idea how or why this is happening - can anybody shed any light?

Many thanks in advance for your help    

Darren

P.S. Please excuse the site, it is very much work in progress!!!!!!!

5 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 20 Oct 2008, 04:15 PM
Hi Darren,

Can you check if the web.config file of the site has the ScriptResource.axd handler declared?

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Darren Ratcliffe
Top achievements
Rank 1
answered on 21 Oct 2008, 06:42 AM
Hi Erjan

It is - I have the following:

<

 

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>

Many thanks

Darren

0
Paul
Telerik team
answered on 21 Oct 2008, 08:43 AM
Hello Darren,

Problem:

Error message "Microsoft JScript runtime error: 'Sys' is undefined"

Suggested solution:

This error occurs when you have added a control from RadControls for ASP.NET AJAX but your application is not configured to use ASP.NET AJAX. To fix it you need to follow the steps described at http://www.codeproject.com/KB/ajax/EnableAjax.aspx (check the topic called Adding ASP.NET AJAX Configuration Elements to an Existing Web Site)

Kind regards,

Paul
the Telerik team

 


Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Darren Ratcliffe
Top achievements
Rank 1
answered on 21 Oct 2008, 12:55 PM
Hi

Sorry for being vague, it wasn't intentional.

If you have a look here:
http://cardealeroldham.autofantastic.co.uk/buy/audi-tt-45.html

If you click on the "click here to reserve" button at the top, you will notice a popup opens - albeit to a broken link, but that's fine - it works.

Now, if we hit the same URL with a slight change:
http://cardealeroldham.autofantastic.co.uk/buy/audi-tt-45.html?showreservation=yes

This writes some javascript at the bottom of the page that fires the SAME javascript.   I am assuming there is a need when you do this effectively at the page load, then this is where the need for a delay comes in?

Many thanks

Darren
0
Paul
Telerik team
answered on 22 Oct 2008, 07:33 AM
Hi Darren,

I'm afraid we cannot understand your question clearly. We looked at both URL and they seem to load fine (no JS errors). Am I missing something?

All the best,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Darren Ratcliffe
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Darren Ratcliffe
Top achievements
Rank 1
Paul
Telerik team
Share this question
or