Issue regarding ToolkitScriptManager

Peter_1985 2,546 Reputation points
2023-08-25T08:56:13.96+00:00

Hi,

Can you help to the following?

圖片

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,307 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
305 questions
0 comments No comments
{count} votes

Accepted answer
  1. Albert Kallal 4,896 Reputation points
    2023-08-25T16:44:18.1566667+00:00

    The ajax toolkit does not use , nor require the "older" toolkit script manager.

    Since for quite some time (toolkit version 15????) the ajax toolkit now uses the standard asp.net script manager.

    You don't want to use, nor require the older ajax script manager. So, on that page, remove the ajax script manager you have, and then drag + drop in the standard asp.net script manager. This one:

    User's image

    So, in above, I am using the ajax toolkit AjaxFileUploader as the designer screen shows. However, note the name and the script manager used in above. You are to now use the standard asp.net script manager, and avoid using the older ajax script manager.

    In fact, you should not see, nor find the older deprecated ajax script manager in the AjaxTools box anymore.

    The above screen shot does not show all of the ajax toolkit controls, but for considerable time (about 10 years now), the aj toolkit does not require nor include the aj script manager.

    This was perhaps one of the "best" changes to the aj toolkit, since now pages don't need 2 script managers, and you don't require use of the aj script manager anymore (it was a pain point for pages, since only one script manager was allowed, and the aj script manager was not 100% compatiable with the asp.net one).

    So, if you recent downloaded (in the last 10 years) a newer version of the aj toolkit, then you not need nor find nor should use the deprecated aj script manager.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. QiYou-MSFT 4,306 Reputation points Microsoft Vendor
    2023-08-25T09:10:56.1833333+00:00

    Hi @Peter_1985

    Add code to your aspx page:

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ccl" %>
    
    
    

    If it still doesn't work, make sure you added AjaxControlToolkit. You can add it on Nuget.

    Exm

    Best regards,

    Qi You


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.