[How Do I:] Get Started with the ASP.NET AJAX Control Toolkit?

Please install Silverlight or click download to watch video locally.

Learn how to extend your ASP.NET AJAX applications using the ASP.NET AJAX Control Toolkit. This video starts with the very basics, including downloading and installing the toolkit, and adding a few of its controls to a simple ASP.NET AJAX-enabled web page.

Presented by Joe Stagner

Duration: 11 minutes, 15 seconds

Date: 23 January 2007

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 90

Leave a Comment

ichibi28 : On March 27, 2008 8:40 AM said:

Im using the vs studio 2008, I first downloaded and install the asp.net extiontions v.1.and ajax vs2008 templates.. then I downloaded the ajax control toolkit.. and open the solution it converted the solution to vs2008 but the AjaxControlToolkit\AjaxControlToolkit.csproj was not converted and TemplateVSI\TemplateVSI.csproj was not loaded also... Did I made a mistake with those actions?

davidtivy : On March 27, 2008 11:36 AM said:

I am having the same problem.

Your are not making a mistake. I have VS 2008 but its the trail version soon to be full.

TemplateVSI\bin should contain a AjaxControllerExtender.vsi and 6 zip files. But its doesnt. I presume VS 2005 has something to do with it?

Please could someone from Microsoft help us?

Thanks

venkatzeus : On April 07, 2008 12:16 AM said:

I am using VS 2005. I have been using the Atlas version(ScriptManager). I would like to update to AJAX. Which dll should i download to work with AJAX?

Please help

sunilvishwas : On April 11, 2008 2:12 PM said:

Initially I had hard time in seeing AJAX Control Toolkit Web Site project template in my Visual Studio 2005.

The following change followed by command devenv /setup resolved the issue:

Extracted AjaxControlToolkitWebsiteCS.zip, changed AjaxControlToolkitWebsiteCS.vstemplate and rezipped the folder

FROM:

<ProjectType>Web</ProjectType>

<ProjectSubType>CSharp</ProjectSubType>

TO:

<ProjectType>CSharp</ProjectType>

<ProjectSubType>Web</ProjectSubType>

Version Details of my setup:

Microsoft Visual Studio 2005

Version 8.0.50727.762  (SP.050727-7600)

Microsoft .NET Framework

Version 2.0.50727 SP1

JoeStagner : On April 14, 2008 8:57 PM said:

You don't need a template if you're using.

Just dro[ any Toolkit control onto your form and VS will copy the toolkit DLLs to your BIN folder.

bnpositive : On April 18, 2008 10:32 AM said:

Can you install and use this if you're using Visual Web Developer Express 2008? If so, how?

Manmadhan : On April 23, 2008 7:16 AM said:

Got AJAX ToolKit as mentioned in the video, but still puzzled about AJAX as a beginnner!!!

:(

abhinav.arya : On April 24, 2008 4:40 AM said:

HI Joe,

I installed Visual Studio 1008. Then I successfully installed AjaxControlExtender.vsi of .net framework 3.5.

The "SampleWebSite" provided in AjaxToolKit download works Fine.

But the toolbox is still not displaying new Ajax Controls.

I have enabled all toolbox items,but the problem exists.

How can i verify that AjaxControlExtender is installed properly. PLS HElP

abhinav.arya : On April 24, 2008 4:53 AM said:

While Creating a New website i donot get any sjax type website template.

faroque : On May 09, 2008 4:59 AM said:

Hi

I need help...  I think there is a problem with this server.

I can not watch/download the vedio files. HTTP 500 error is shown. please help on this...........

lakshmanvepuri : On May 13, 2008 7:00 AM said:

Thanks for the Video.....Good one.

manojm : On May 13, 2008 7:11 PM said:

Why I am not able to move AJAX Extension controls and AJAX Control Toolkit controls eventhough they are absolutely positioned. It is very hard to move them in the designer. Can any one tell do i need to make any change?

mohinisekhar : On May 14, 2008 1:34 AM said:

Thanks for the video. It is very helpful for the beginners.

mohan_webdeveloper@yahoo.co.in : On May 28, 2008 6:16 AM said:

can anybody tell me how to check Ajax is installed on server or not

engineerachu : On May 30, 2008 3:53 AM said:

Beginners can easily learn the basics because of these videos. Keep going high Microsoft!

elephanted : On June 09, 2008 1:24 PM said:

Hi Joe,

Thank you for posting all of these videos, they are a great help.

I am following along with the Getting Started/AJAX Tollkit video, I am creating the same application on my machine with VS 2008...when I get to the point where you drop the ConfirmButtonExtender onto the designer, I do not get the message asking me if I want to replace the .dll file. And then the next step, of setting the TargetControlID, I do not have anything in the drop down menu, so I cannot choose Button1.

Do you think I might have one of the components installed incorrectly?

Thank you for your help!

tjdarth : On June 12, 2008 1:19 AM said:

Hey guys, I am having a heck of a time trying to dl'd AjaxControlToolkit.zip. I want to use the 1.1110xxx version for VS 2005. When I click on the file, it attemps to download the following file: FileDownload.aspx? When the dwnld is completed, this file shows up in my already opened VS2005 VWD application? Can someone tell me where I am going wrong?

Thanks in advance . . .

Tom J.

kaushik021 : On June 12, 2008 9:07 AM said:

Simply superb ...........

one of the best technology i hav ever seen ..........

Ayomide : On June 14, 2008 6:48 PM said:

Can you install and use this if you're using Visual Web Developer Express 2008? If so, how?

All tge problems listed above I am expericing but I do not see a resolution when using Visual Web Developer 2008 Express.

Kindly help

prakashdale : On June 29, 2008 7:44 AM said:

In tool box, click on 'Choose Items...". Browse to AjaxControlToolkit.dll and click on ok. It will add all the controls in toolkit to your tool box. Drag control to your page, it should work.

taherhamdy : On July 04, 2008 7:23 AM said:

I have problem to asp configuration tools

I already make role but when I make user account always give me (password at least 7 alhpapit. and at least 1 nonalphapit ) but I always make more than 7 character and very strong password.

please if anyone know aynthing about this problem send me email: taherhamdy_76@yahoo.com or

taherhamdy@hotmail.com

Taher

garima123 : On July 14, 2008 11:25 PM said:

please provide Details about ajax enabled web applications.

funluckykitty : On August 04, 2008 1:55 PM said:

no matter what i try, I just can't get the toolbox to work in Visual Studio 2008.  

cv_vikram : On August 06, 2008 1:25 PM said:

It is simple and good.

cezar23 : On August 11, 2008 3:47 PM said:

Hi all !

I observe that when i write just javascript code , using XmlHttpRequest object , i obtain better performance rather than using this control toolkit.

Please give me some sugestions , i should use this control toolkit or implemet that method using javascript.

Thanks

gautham82 : On August 13, 2008 2:27 AM said:

While "Build" TemplateVSI, i m facing the below error.. :(

Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

gautham82 : On August 13, 2008 2:50 AM said:

Above Issue solved after installing Visual J# 2.0

msdn.microsoft.com/.../bb188598.aspx

casperrr : On August 16, 2008 11:01 AM said:

pardesi pardesi jana nahe

S.Pirashanth : On August 28, 2008 5:38 AM said:

Excellent video series. Thanks a lot

bhushi : On September 01, 2008 11:44 AM said:

HI all,

I installed the Ajax control tool kit successfully and tried to do the same POC as joe did however i faced a problem which says:

"The control with ID 'ConfirmButtonExtender1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it."

I have a script manager on the page but still i am facing the issue.

Plzz help :(

Shareece : On September 09, 2008 4:38 PM said:

I am using vwd 2008 and could follow the first and secound video until it's 0:08:41 minute step by step. My problem is similar to others'; as I want to create a new website I do not see the Ajax control toolkit website in templates pane. So, I make a Ajax 1.0 Enabled ASP.Net 2.0 website. But the newly inserted Ajax controls and some of Ajax extentions are disabled. It seems I must stop :°(

As an Ajax beginner I am so ... disappointed by the time now!!

dollu : On September 12, 2008 12:00 AM said:

I am not able to install AJAX Control Toolkit properly.

As per the video, after extracting the toolkit in "C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\Ajax Control Toolkit".  

When I double click on AJaxControlToolkit.sin (3min 30 sec of this video) , I dont have AjaxControlToolkit and VSITemplate activated instead I see this in solutions explorer :

AjaxControlToolkit(Unavailable)

TemplateVSI (unavailable)

Where am i wrong?? Please help? I am using Visual Studio 2005, .NET 2.0, and AJAX COntrolToolkit- 11119( Nov 19 2007 (since this is compatible with .NET 2.0))

Thx

dollu : On September 16, 2008 11:50 AM said:

Can't install .csproj file..  How do I do that?

budugu : On September 25, 2008 2:33 PM said:

Good one!!

unimagic : On September 28, 2008 11:25 PM said:

I want to know something about vs2005,and i don't know how to get AJAX Control Toolkit for vs2005.

seagaull : On October 04, 2008 1:05 AM said:

i cant find toolkit for framework 2 can u plz support me with direct link

SupportClayDoor : On October 10, 2008 7:50 PM said:

Hello,

I am using VS2008. I can only use the AJAX Toolkit in projects with Framework 3.5. where can I get the dll for Framework 2.0? is it possible to have the two dll's?

jamello : On October 14, 2008 10:50 AM said:

Hello joe!

Your videos rocks. I went uuuuuuuuuuuuuuaaaaaaaaaaaaah!!!!! in pleasure. Someone (I discovered it was an angel) refered me to the site. Its just what I have been looking for. I have two projects I am currently working on and they are all on hold because I had  issues doing stuff the right and easy way.

I am going to use at least five controls from the tool kit for these projects. But I have a challenge...

I followed your step-by-step video in getting started with the toolkit. I downloaded and installed the ajaxcontrol toolkit with no problems. But when I try to load the varoius controls to my tool box by pointing to the ajaxtoolkit dll, an error appears that goes like this "'There was an error loading types from assembly C:\programfiles\...ajaxtoolkit.dll' Could not load file or assembly 'Systems.web.extensions version=1.61025.0 culture=neutral, public token=... or one of its dependencies. The system cannot find file specified"

the readme file reveal the fact that I should add new entries to the registry pointing to the new location of the file. All this did not change the status.

So I am not able to continue. Your help will be more than welcome. Thanks in advance

jamello : On October 14, 2008 10:53 AM said:

I use vs 2.0.

frankadane : On October 16, 2008 12:16 PM said:

I'm using VS2008.After installing ASP.NET 2.0 AJAX Extensions 1.0 and ASP.NET 2.0 AJAX Templates for VS2008 and following

this video tutorials,ASP.NET AJAX Template under MY Templates

did not appear. what should i do?

leksodav : On October 19, 2008 2:50 PM said:

Hi  I'm doing  everything  coreectly like  in  this  video  but  I have some problems installing it  in  Visual studio(Professional Edition.

After  Building VSI Project I don't have  .zip files in bin directory :(  Please  help :)

enrique849 : On October 19, 2008 4:05 PM said:

What is the link of Ajax Control Toolkit for ASP.NET 2.0

leksodav : On October 19, 2008 4:14 PM said:

ups  sorry  I've  done if  someone  is interested  visit:

weblogs.asp.net/.../ajax-control-tookit-installation-in-visual-web-developer.aspx

djibril_chimere_DIAW : On October 21, 2008 4:31 AM said:

Thanks!

cnuauk : On October 29, 2008 5:10 AM said:

Using VS 2008 Express, the ControlToolKit refuses to show up in the toolbox as per the instructions in the video.

This remains the case using vs 2008 Team System so one could safely conclude the instructions work only for vs 2005

I've just followed the same steps with vs 2005 and this works as per instruction

1hr wasted and really is AJAX worth all the bother? its got its sweet spot but the noise surrounding it is a compelling irritant, yuck!

Eyveneen : On November 04, 2008 7:52 PM said:

I have been stuck on this section of the tutoral for about three hours now.  I followed the video acurately.  I am getting a compilation error:

Compiler Error Message: BC32206: Indirect reference is being made to assembly System.Web.Extensions version 3.5.0.0, which contains 'AjaxControlToolkit.ConfirmButtonExtender'. This Project references a prior version of System.Web.Extensions version 1.0.61025.0. To use 'AjaxControlToolkit.ConfirmButtonExtender', you must replace the reference to System.Web.Extensions with version 3.5.0.0 or higher.

I posted it in the forum but i am not sure how long it will take to get a response.  I would like to resolve this as quickly as i can to continue this lesson.

any recommendations?

rhiana : On November 04, 2008 10:49 PM said:

Thanks Joe, however I have a problem upon uploading it in the toolbox... It gives this error Message:

The was an error loading types from assembly 'D:\Program Files....

'Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=nuetral............ or one of its dependencies. The system cannot find the file specified.'

How can I resolve this issue? thanks in advance

anybody who knows how to resolve the issue??? Please help

Eyveneen : On November 05, 2008 11:46 AM said:

I resolved the problem with my website...

rhiana : On November 05, 2008 12:45 PM said:

mind if i ask how did u resolved the issue? help really appreciated... thanks in advance ^_^

ronald_yoh : On November 13, 2008 6:37 AM said:

Hi Joe..

i'm having this error while building the VSI in Visual Studio

Error 1 Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. C:\Program Files\Microsoft.NET\AJAX EXTENSIONS 3.5\AjaxControlToolkit-Framework3.5SP1\TemplateVSI\Template VSI.csproj 37 5 TemplateVSI

any idea? it only created the "TemplateVSI.vshost.exe" in the VSITemplate/bin folder.

Note: i;m using ajax 3.5

thx

JoeStagner : On November 13, 2008 7:20 PM said:

I'm confusewd on why you want them.

With ASP.NET 3.5, the AJAX Core is built in and automatically referenced as soon as you place a ScriptManager on the Page.

The Toolkit automatically gets referenced and the DLLs copied to the BIN directory.

Why would one need the Toolkit Template ?

ronald_yoh : On November 13, 2008 9:32 PM said:

in your video you managed to install the ajax control toolkit (not sure with this term) by executing the vsi file from the VSI template folder. Now the questions are:

1) is it important for installing this ajaxcontrolextender.vsi? I don't have this vsi file after building the VSI template from VS 2008 since the error I mentioned earlier.

2) i don't have the "ajax control toolkit website" option while creating a new web site.

3) In the video, you dragged the confirm button extender on to the page. but in my VS 2008, i have to drag this toolkit and drop exactly on the button control (otherwise nothing happens). can you explain this?

Thanks

aspfun : On November 15, 2008 6:14 AM said:

I used vs 2005 and AjaxControlToolkit is working fine in intranet web server. Once move to internet web host, Ajax did not work any more. I installed .net workframe 2.0, sp2, Ajax extension, added all dll files in my app but did not help. What is wrong?

aspfun : On November 16, 2008 3:52 AM said:

While I install AjaxToolkit, error occured:

Installation stopped because the directory for the ProjectType value did not exist.

The project type is invalid for your installation of Visual Studio.

How to fix it?

ajaxfresher : On November 19, 2008 8:27 AM said:

While i try to open the solution file in the toolkit it says unauthorixed version...i have vs 2005 in my system installed and the version i downloaded supports vs 2008...what do i do plz suggest me....

henryw : On December 08, 2008 9:35 PM said:

http://www.idisplayforless.com" style="color:#ffffff;cursor:default">trade show displays

aazzin : On December 15, 2008 4:29 PM said:

I use Visual Studio 2005 and am now upgrading my .NET version on my box to 3.5 to see if this works. I don't see the 2.0 download any longer Joe so I think some peole are getting confused because on Codeplex the only download available is for the .net 3.5 version.

So either you upgrade your .net to 3.5 or you gotta find the 2.0 version in the video.

soori457 : On December 23, 2008 7:18 AM said:

Hai Everyone,

when am trying to add ajxcontrolkit on my toolbox I'm getting this error

There was an error loading types from assembly 'C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlKit\SampleWebSite\Bin\AjaxControlTool Kit.dll' 'Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'

anyone tell me, how to solve this

Thanks in Advance

soori457 : On December 23, 2008 7:19 AM said:

I'm using Visual Studio 2005 (Asp.Net 2.0)

aeg@online.no : On December 29, 2008 2:14 AM said:

I’m trying to install Ajax Control Toolkit but an error stops it installing. I’ve got vs2008.

The error is:

Error 1 Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Systemet finner ikke angitt fil. C:\ Development\Ajax Control Toolkit\TemplateVSI\TemplateVSI.csproj 37 5 TemplateVSI

Sparks01 : On December 31, 2008 1:29 AM said:

These vids are really good, thanks for them.

almny_com : On January 18, 2009 5:18 AM said:

thank you very muach

Beginners can easily learn the basics because of these videos

i learning from this lesson and i start in my web site to learn .net and i will display the video by silver light also

here

http://www.almny.com

and i will copy your lesson to it

thanks again

sathyasai : On February 18, 2009 3:19 PM said:

Hi joe..

I cannot able to find AJAX control toolkit in asp.net download page.

Can u please help me out..

amit3591 : On February 19, 2009 1:09 AM said:

Hello Sir/Madam

I am developing a website in asp.net but whenever I was started my project unfortunately I have selected simple website from new website rather than to select Ajax enabled website, so now I want to implement ajax in my website.

Is it possible to implement Ajax,can u plz tell me...

matrixarchitect : On March 05, 2009 4:56 AM said:

For those of you using VS 2008, you do not need to compile the TemplateVSI project (though you can if you want to, provided you can get past the error from not having Visual J# run time installed on your system - to do so just install the vjs runtime redistributable). Just right click on the AjaxControlExtender.vsi in the AjaxControlExtender folder and click open. It'll install itself in VS2008. For those of you, having trouble seeing the extender controls in the tool box, read the following msdn article:

http://msdn.microsoft.com/en-us/library/bb470384.aspx

Pay especially close attention to the part where it says: "If you install the ASP.NET AJAX Control Toolkit, extender controls are shown in their own tab in the Toolbox. The extender control section of the Toolbox is shown only for Web pages, as with the Standard section of the Toolbox." Hope that helps.

To the developers of the toolkit: Why does the TemplateVSI project contain a reference to Visual J# (vjslib) when the library is only intended for C# and VB? The project won't compile due to a missing vjslib reference, however a raw search of all the files in the TemplateVSI folder didn't find any files with the text vjslib in it.

xtorke : On March 18, 2009 6:56 PM said:

I have been a software dev and systems eng for more than 25 years now and I never seen so much incompetence in putting together a piece of crap. I do use VS 2008 everyday and other MS products. But how can I recommend somenthing like this mess to my team?

zikrija : On March 19, 2009 11:07 PM said:

How can I install this control toolkit in vs2008 when project use framework 2.0.

Abu-Yanal : On March 21, 2009 7:40 PM said:

hiii

i have a little problem that is:

ive created a web site project without enabling the ajax thing , so i wanna use ajax on this project but i cant so do i have to start a new project again??!!

Posted at 02:56 in the video

prash4030 : On April 12, 2009 5:43 AM said:
nice vdo

Posted at 00:34 in the video

Deeno20 : On April 20, 2009 9:21 AM said:
slow
EarlNet : On April 24, 2009 1:46 PM said:

This has actually simplified all my problems

sansinfo2008 : On May 09, 2009 5:36 PM said:

I had followed all the instruction given in the Video and it is working fine for me, thanks

http://www.planetsourcecode.in

pcbv : On May 11, 2009 4:14 PM said:

Hi Joe,

It's really very helpful. Thanks a lot for such a great work. I liked this vedio and I am going to follow all your vedios.

Keep uploading more stuff on AJAX ASP.Net.

Many-many thanks.. :)

C . Arun kumar : On May 30, 2009 2:13 AM said:

Hi Joe ,

You are such a magnificient person, i adore your presentation as much as i adore you .Keep driving joe .

Regards ,

Arun

carunkumar@ibibo.com

morrie : On June 03, 2009 3:55 PM said:

I have to say this video is terrible! What about HOW to install it? The way you explained it was a joke. I don't have anything that looks like what you showed. I have tried copying the downloaded files into everywhere; even tried the other downloads. Nope. No exe. to run when I gt through. I don't "Ajax Extensions" and don't even know where to get them, so why was that the instruction ("just put them right next to the thing you don't have"). "Then click the thing you don't have" and you can get started!" I am sure none of us need the "how to use it". I have VS 2005 and still don't know how to install and run this. Thanks for the vague time-waster. Of course, from what I've seen of the written documentation, it's worse. I hate this s*$&%. There is nothing to the programming; you just have to learn how to setup this stupid tool. Oh, and by the way, unless you're a massochist, it's the only way to get it done. Very unhelpful and vague tutorial. Maybe other people have a different version,OS, etc than you?????????? Did you think of that????

cdukes77 : On July 06, 2009 4:23 PM said:

Joe ... thank-you for taking the time to make these video tutorials. For the most part they are exactly what we need to get started with this technology - but - there does come a time when a specific tutorial (this one for instance) is just too old to be useful ... so much has changed regarding getting started with the AJAX Control Toolkit (site names, site screens, download options, installation issues, etc.) it's probably time to make a new "getting started" video.

manesh nichit : On August 10, 2009 1:15 PM said:

Hi.......

I am not able to download the files ............

NarayananK : On September 19, 2009 1:52 PM said:

i am using visual studio 2005 .when i tried building sample website while installing ajax toolkit,it brought up 107 or more errors.let me know what to do

NarayananK : On September 19, 2009 1:52 PM said:

i am using visual studio 2005 .when i tried building sample website while installing ajax toolkit,it brought up 107 or more errors and the build failed.let me know what to do

NarayananK : On September 19, 2009 1:53 PM said:

i am using visual studio 2005 .when i tried building sample website while installing ajax toolkit,it brought up 107 or more errors and the build failed.let me know what to do

NarayananK : On September 19, 2009 1:54 PM said:

i am using visual studio 2005 .when i tried building sample website while installing ajax toolkit,it brought up 107 or more errors and the build failed.let me know what to do

Arkadeas : On September 20, 2009 5:52 AM said:

This video is very outdated.

Updated instructions for installing the toolkit can be found here

http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-vb.aspx

or here

http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-cs.aspx

Kudos to the MS Ajax team for really streamlining the install process.

bilmuh : On September 23, 2009 2:38 PM said:

ok i had a lot of pain trying to install Ajax tool Kit, you may try to use this link :

http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=11121

it is a publish of one year ago but it will suit all the steps shown in the video

bilmuh : On September 23, 2009 2:41 PM said:

try this link

http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=11121

it is of last year but it will suit every step of the tutorial

maximiliano vega : On October 24, 2009 11:58 PM said:

Thanks Joe!!! This video was very helpfully!

:D

marty sirkin : On November 04, 2009 9:46 PM said:

I do have a small question/problem. I downloaded the toolkit without any problems, and it installed and shows up in the sidebar. The issue is that virtually all of the controls will not allow themselves to be dragged/dropped. I just get the "No" symbol and can't drop them. Did I miss a step from the instructions? Thanks in advance.

marty sirkin : On November 04, 2009 11:17 PM said:

Never mind - I'm an idiot!! :) Having bothered to finish reading, it's pretty straightforward and works great (so far) - thanks!

dff119 : On November 16, 2009 5:46 AM said:

Followed the video installed the vsi file.Started Visual Studio 2008 and opened new website but the ajax template was not present either was the ajax toolkit tools. What did I do wrong?

Bujjigaduvzm : On November 17, 2009 8:51 AM said:

can anybody show me how to install the latest version of toolkit, it's not an exe file, it's just a couple of dll files, so plz tell me how to make use of them

Bujjigaduvzm : On November 17, 2009 8:56 AM said:

i installed the ajax controls in my toolbox and i used the calendar control in my site, it's working fine on my test server but when i publish it and access through client browser it's giving the following error, all other pages which do not contain ajax controls are working fine, can any body help me.

Server Error in '/InfraHR' Application.

--------------------------------------------------------------------------------

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]

System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0

System.Web.UI.NamespaceTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean throwOnError) +98

System.Web.UI.NamespaceTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs) +11

System.Web.UI.TagPrefixTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs) +127

System.Web.UI.MainTagNameToTypeMapper.GetControlType2(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) +228

System.Web.UI.MainTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) +28

System.Web.UI.RootBuilder.GetChildControlType(String tagName, IDictionary attribs) +20

System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) +69

System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) +526

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) +926

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities