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

Javascript & AJAX

3 Answers 67 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 1
Andy Green asked on 02 Nov 2009, 08:25 AM
Firstly - this isn't a Telerik problem, its me. Although the problem has come about when using the RadAjax to ajaxify my page.
 
What I don't understand is what I'm doing wrong, as some pages work OK and others dont.
 
My question is what is best practice for including client side javascript when using AJAX.
 
I have a master page, and include my javascript in normal

<

 

script type="text/javascript"> </Script> tags, so not sure if this is correct.

I have tried using RadAjax Manager, but now only have a RadAjaxPanel around the whole code section, just inside the content area:

<

 

asp:Content ID="Data" ContentPlaceHolderID="cph_Main" Runat="Server">

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" 
And the behaviour is the same.

My page has a dropdown of categories, which updates the grid. The Grid in turn is nested and has a list of areas and items in those areas.

The category updates the grid OK, and each section of the grid works fine, except when I try to add or edit grid items I get an error along the lines of:

Error:Sys.ScriptLoadFailedException: The script'Expert/ScriptResource.axd:.......

What I cant figure out is why, I have another page with a treeview populating a tabview which in turn populates a nested grid, and this works fine.

Any help would be appreciated.

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 02 Nov 2009, 02:03 PM
Hello Andy,

In order to avoid this error I suggest you check out the following forum thread which elaborates on similar subject:
http://www.telerik.com/community/forums/aspnet-ajax/ajax/scriptresource-axd-not-found.aspx

Let me know if  you need further assistance.

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Andy Green
Top achievements
Rank 1
answered on 12 Nov 2009, 07:36 AM
Hi

I worked through the links you sent but none worked for me, however it looks like it now working, but I've not done anything except upgrade to 2009 Q3.

Have you  made any changes in this release.

Andy
0
Accepted
Pavlina
Telerik team
answered on 17 Nov 2009, 12:09 PM
Hello Andy,

Detailed information about each control's backward compatibility can be found in the following article:
Changes and backwards compatibility in RadControls latest release

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
Andy Green
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Andy Green
Top achievements
Rank 1
Share this question
or