Last post Mar 03, 2010 07:36 PM by kenchu
Oct 28, 2006 01:40 AM|Gabicus|LINK
I have created a Ajax Control Toolkit in my tool box of VS. I then selected add item and navigated and selected 'C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\downloads\SampleWebSite\Bin\AjaxControlToolkit.dll'.
When I try and use on of the controls Like TextboxWaterMark. I have no trouble adding it to the page. But it does not add the extra information to the properties so I can adjust the settings. And if I try and run the project I get the following error:
Warning 1 Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'. Can not find assembly 'C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\downloads\SampleWebSite\Bin\AjaxControlToolkit.dll'. C:\Documents
and Settings\rlc\My Documents\Visual Studio 2005\WebSites\AJAXEnabledWebSite1\Bin\ajaxcontroltoolkit.dll.refresh C:\...\AJAXEnabledWebSite1\
The AjaxControlToolkit.dll file does exists in the folder. I am just not sure how I can fix this error.
Nov 11, 2006 12:15 AM|David Anson|LINK
Nov 11, 2006 03:07 AM|Gabicus|LINK
I tried to reset the ToolBox and now when I try and run the project I get:
There is no source code available for the current location.
And it shows this location.
is there a way to change the lockation so that it can find the cs files.
Nov 15, 2006 09:45 PM|David Anson|LINK
That's the path on our build machine. :) If you manually open the relevant file from your disk, VS should do the right thing. Alternatively, if you compile the AjaxControlToolkit DLL yourself, the paths will automatically be correct.
Apr 07, 2008 01:34 PM|TheDirtyBird|LINK
I compiled the dll, but the path does not update. Does this have something to do with the version?
Apr 11, 2008 08:48 PM|TheDirtyBird|LINK
fyi, it was the version number in the web.config file. fixed.
Jun 20, 2008 04:33 PM|patty|LINK
Could you please be more specific on this matter. I would appreciate if you could post the code that you placed in the web.config file.
Jul 30, 2008 04:36 AM|akiruis|LINK
Just updating the reference to this file fixed the problem for me.
Before doing anything make sure you have the file somewhere in your PC. It should be in the location where you unzipped the files after you downloaded the package from CodePlex.
In Solution Explorer you'll find Bin folder where the ajaxcontroltoolkit.dll is.
Delete that entry.
Right-click your project (the top most entry in Solution Explorer) and select Add Reference...
Select Browse tab from the dialog box and point it to the ajaxcontroltoolkit.dll file.
Mar 03, 2010 07:36 PM|kenchu|LINK
Re-adding the reference works, but if you edit the .refresh file in an editor outside of VS, it might not work again. I found the problem is that the .refresh file is in Unicode format, and it requires the two byte Unicode BOM (FEFF). Adding the BOM worked
.refresh Unicode BOM