Ajax Toolkit Error on .aspx page

Asked By 0 points N/A Posted on -
qa-featured

Hi,

I made a new website and I am transferring all web user controls from old website to my new one. I made web user controls (.ascx files) on my previous website and I am putting it inside a .aspx page of my newly created website. My problem with this is that I am getting an ajaxToolkit error (I used ajaxToolkit:ValidatorCalloutExtender on my control) on the design view of the .aspx page(see image below). I tried to add ajaxToolkit to references but I cannot see it in the list of references.

Error Rendering control – Country1

An unhandled exception has occurred.

Unknown server tag 'ajaxToolkit:ValidatorCalloutExtender'.

SHARE
Best Answer by Kevin Smith
Best Answer
Best Answer
Answered By 0 points N/A #113801

Ajax Toolkit Error on .aspx page

qa-featured

On the web server, you'll need to identify the actual ASPX page and open it up together with some kind of editor like Piece of paper, Visual Studio room, etc. Search which file for "ToolkitScriptManager" (if you can't find it presently there, it may be located in other WebPages, for instance a Grasp Page).

Once you see it, you will need to increase the particular attribute "Combine Scripts" and hang that to be able to false, just as the website describes (It will make sense you may notice it).If you'll still can't decipher it away, I recommend possessing someone who is a lot more acquainted with .Net to produce the alteration.

Answered By 5 points N/A #196420

Ajax Toolkit Error on .aspx page

qa-featured

Have you included the library as the page page directory on that page. You definitely need to check this fact or else you are certainly going to find yourself in problem. This is the main reason for the problem.
So, add this to the page:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit"%>
This will solve your problem.

Waters Magner

Related Questions