moosetracker
asked on
New AJAX wants ScriptManger doesn't provide it?
So I added the new AJAX version 15,1,1 to my VS 2012.. In my older AJAX that is with my VS 2010 I had a ScriptManager.. With my new AJAX it is crabbing that I need a Script manager, but it is not offered in the AJAX component list..
If I don't have it, then at run time it gives me this error:
If I try to manually add it,
it gives me a warning
If I don't have it, then at run time it gives me this error:
A ScriptManager is required on the page to use ASP.NET AJAX Script Components.
If I try to manually add it,
<cc1:ScriptManager ID="ScriptManager1" runat="server">
</cc1:ScriptManager>
it gives me a warning
Warning 1 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
ASKER
Thanks, I did try to manually add it.. But it gives me the error of
So I got the AJAX toolkit installed by manually adding it to reference after a long search to figure out where the download dumped it.. (they were so helpful in dumping it in the middle of nowhere and giving you no info where they put it.)
So the path was something like this..
C:\Users\(username)\AppDat a\Local\Mi crosoft\Vi sualStudio \11.0\Exte nsions\y0n asova.qog
there is one other dll in it, but it does not seem like the one I want.. Anything that I'm showing give you the ability to point me in the right direction of what I want?
Warning 1 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
So I got the AJAX toolkit installed by manually adding it to reference after a long search to figure out where the download dumped it.. (they were so helpful in dumping it in the middle of nowhere and giving you no info where they put it.)
So the path was something like this..
C:\Users\(username)\AppDat
there is one other dll in it, but it does not seem like the one I want.. Anything that I'm showing give you the ability to point me in the right direction of what I want?
I think you still misunderstand between AJAX Extensions and AjaxControlToolkit. ScriptManager is from AJAX Extensions, not AjaxControlToolkit, therefore you cannot find it inside AjaxControlToolkit DLLs.
Try to install AJAX Extensions 1.0 from here: http://www.microsoft.com/en-us/download/details.aspx?id=883.
Try to install AJAX Extensions 1.0 from here: http://www.microsoft.com/en-us/download/details.aspx?id=883.
ASKER
Hmmm... Added it.. At least THIS one I can see it was added to the list of installed programs... But.. No AJAX extensions in the toolbox.. So I tried to add it..
First I tried to create a tab, and look for the new AJAX extensions in the "Choose Items".. Nothing about AJAX that isn't already checked and under the Toolkit.. I sorted by namespace and looked at all the A's incase is was ASPAjAX.. Nope, also looked for it starting with Microsoft..
So then I tried to look for the reference.. Nothing listed.. So I tried to browse for, and manually add it to the reference.. But.. It says it can't add it, because it is already installed... So where is it hiding?
First I tried to create a tab, and look for the new AJAX extensions in the "Choose Items".. Nothing about AJAX that isn't already checked and under the Toolkit.. I sorted by namespace and looked at all the A's incase is was ASPAjAX.. Nope, also looked for it starting with Microsoft..
So then I tried to look for the reference.. Nothing listed.. So I tried to browse for, and manually add it to the reference.. But.. It says it can't add it, because it is already installed... So where is it hiding?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, that works for me !!!
Or you are still able to manually add ScriptManager to your ASPX page like:
Open in new window