Javascript & AJAX

4 posts, 1 answers
  1. Andy Green
    Andy Green avatar
    120 posts
    Member since:
    Jul 2009

    Posted 02 Nov 2009 Link to this post

    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.

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 02 Nov 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andy Green
    Andy Green avatar
    120 posts
    Member since:
    Jul 2009

    Posted 12 Nov 2009 Link to this post

    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
  5. Answer
    Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 17 Nov 2009 Link to this post

    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.
Back to Top