Ajax toolkit not working

Discussion in 'ASP.NET / ASP.NET Core' started by nigpig, Jul 23, 2011.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm using ajax locally(net 4) and no problems.
    When I upload my precompiled pages and dlls Im getting an error stating my default.aspx page is not pre-compiled.
    As soon as I remove any refernce to ajax and remove the ajax from the bin folder and upload it all works fine again.

    I see that ajax 3,5 is supported and in the gac on dasp. Does this mean I dont need to have it in the bin folder and could this then be my problem.

    So do I need to install ajax to my own gac on PC and add a reference to the web.config?

    Not sure and need some guidence.
     
  2. It has been my understanding that if we use this at the page level it loads version we are using in our root /bin/ folder, not the server GAC.:

    <%@ Register
    Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>
    <script runat="server">

    I am using that for v4 at the page level with nothing in the web.config for Ajax.
     
  3. Its working now.
    I added ajax again and uploaded the precompiled site and all was well.
     
  4. ...Good job. ;-)
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page