Hi,
I was just trying to install AJAX control toolkit after following the installation procedure given in:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx
Now I can see the controls in my toolbox. But when I try to drag and drop them on the form, I find that this facility is disabled. I can drag and drop other controls which are not in ajax control toolkit. Can anyone tell me what's the problem? or am I doing any silly mistake? I am new to AJAX and know nothing about it.
Thanks
![]() |
0 |
![]() |
Are you getting the control when double click on the control?!
Please: Don't forget to click "Mark as Answer" on the post that helped you.
----------------------------------
Siva Prakasam
Senior Software Engineer,
TouchPoint Solutons,
Chennai.
inboxofsiva@gmail.com
![]() |
0 |
![]() |
Hi,
Did you included Ajaxtoolkit.dll in your project?
If no first add it using add reference.
If still you are having the problem follow next step that is Click on AjaxToolkit tab in toolbox and select Choose items. Click Browse and select path of bin folder of your project.
Then select AjaxToolkit.dll. It will automatically select all ajaxtoolkit controls then just click Ok.
it will load all the ajaxtoolkit control in your toolbox and you are able to use them
Thanks & Regards,
Omkar A. Lale
"Courage is what it takes to stand up and speak; courage is also what it takes to sit down and listen."
~ Do Mark as Answer if it solves your query ~
![]() |
0 |
![]() |
Hi are you running on 2.0 ? Then try this http://www.asp.net/ajax/downloads/archive/ You first need to install ASP.NEt Extentions v1.0 before downloading the toolkit
Hope it helps
![]() |
0 |
![]() |
No, I am not getting the controls on the form from double click. I have followed all the steps as provided in the link I have specified( same as given by Omkar Lale). My problem is that I got all the controls in the toolbox but I am not able to put them on form either by drag and drop or by dbl click. It seems the drag and drop feature is disabled. I am using VS2008. Any ideas what could be wrong?
![]() |
0 |
![]() |
Hi,
How did you create your website? It seems that your website type is NOT Ajax-Enabled.
If so, you can try to install create Ajax Control Toolkit website template from Toolkit package you download, and then select Ajax Control Toolkit WebSite template from My Templates while creating new website.
If your website is normal project, we need to add the assemblies that Ajax needs in the web.config file. For example:
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
I look forward to hearing from you.
Thomas Sun
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
![]() |
0 |
![]() |
Hi, thanks for your reply. It is a normal website project and I have checked in the web.config file. The assembly you have specified is already present in it.
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Anything more I need to add in web.config?
![]() |
0 |
![]() |
Hi,
Thanks for your response.
If your ASP.NET website is 2.0 version, the web.config of which needs to be configured as Ajax-Enabled. If so, you can refer to http://www.asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx
If your ASP.NET website is 3.5 version, the web.config is configured as Ajax-Enabled by default while creating new website. It should look like as follow:
<configuration> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup> </configSections> <appSettings/> <connectionStrings/> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true"> <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="ClassLibrary1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=63F21E3DD9C1778F"/> <add assembly="ClassLibrary1, Version=2.0.0.0, Culture=neutral, PublicKeyToken=63F21E3DD9C1778F"/></assemblies> </compilation> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows"/> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <pages> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </controls> </pages> <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> </httpHandlers> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </httpModules> </system.web> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="WarnAsError" value="false"/> </compiler> <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="OptionInfer" value="true"/> <providerOption name="WarnAsError" value="false"/> </compiler> </compilers> </system.codedom> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <remove name="ScriptModule"/> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated"/> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </handlers> </system.webServer> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>To add Toolkit control to page, we can register Toolkit assembly in page or web.config as follow:
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
I look forward to hearing from you.
Thomas Sun
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
![]() |
0 |
![]() |
My website is 3.5 version and the web.config looks like you have given above. As suggested I registered the toolkit in the page, but still the same problem is coming. I am not following why this is happening. I can see the controls in the toolbox but am not able to drag them on to the page. First of all, can we drag ajax toolkit controls like calendar extender on to the page? If not, what is the procedure to do that?
Thanks
![]() |
0 |
![]() |
Hi,
What version of ToolKit you are using? We can download latest AJAX Control Toolkit from http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=16488.
We can try to delete the old AjaxControlToolkit.dll from the Bin folder of your website and add reference to this new one, and add this new one to ToolBox.
We also can install Ajax Control Toolkit website template from Toolkit package and create this Ajax Control Toolkit website template when we create website.
Thanks.
Thomas Sun
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
![]() |
0 |
![]() |
I have installed the latest version only(which you have provided the link). I also installed the template and did all the steps.
After that only I am able to see all the controls in the toolbar. But just not able to use them. Can you tell me what could be wrong?
![]() |
0 |
![]() |
I've found out where I was wrong. I've been told that in 2008 we can directly attach the extenders to the controls. They cannot be dragged and dropped. As I had no idea about Ajax, I thought we could directly drag and drop the extenders on to the form. Now I know I was wrong.
If you want to know how to use these controls, just check this:
![]() |
0 |
![]() |