views:

1209

answers:

6

I played with this years ago when it was "atlas". Now I want to use it I assumed it would be a in the VS toolbox. Now all I can find on the web is total confusion!

Thanks.

A: 

I don't know how to do it using Ajax.Net. However, I like to use jQuery for as much Ajax/JavaScript stuff as I can. it's clean, simple, and fast.

So May I recommend the jQuery Autocomplete plugin? http://www.pengoworks.com/workshop/jquery/autocomplete.htm

Edit: So there is a Ajax.net version There is a tutorial here: http://www.asp.net/learn/AJAX-videos/video-122.aspx

Damien
+2  A: 

Have you downloaded the AJAX Control Toolkit? It's available on CodePlex. Once you do that, and put the toolkit dll in your bin folder, you can begin using it.

alex
how should i reference it from a vanilla asp.net web application? web.config changes etc.?
Pete Montgomery
Do you already have an AJAX Extensions section within your Toolbox?
alex
yes, i do ..............
Pete Montgomery
Then your web.config should already be good to go. Try adding to the Toolkit to your toolbox (right click and add a new tab, then right-click and select "Choose Items." Click the browse button and select the AjaxControlToolkit.dll that came with the toolkit download.
alex
A: 

I agree with Damien, now that jQuery is pretty much (or will become) ubiquitous in any .NET devs tool set I'd recommend the jQuery autocomplete plugin. I had it up and running in 30 mins.

Kev
The autocompleteextender takes like 10 seconds to get running.
Robert C. Barth
Possibly...but I find the MS AJAX stuff bloaty and only use it on rare occasions these days.
Kev
A: 

Here's a link to the autocomplete sample for AJAX Control toolkit. It's a little difficult to set up because you have to set up and accompanying web service. If I were to start from scratch, I would probably use the jQuery method Damien mentioned. I wouldn't be surprised if the next version of the AJAX Control Toolkit was rewritten using jQuery since ScottGu's team endorsed it last October.

craigmoliver
You don't need to set up a web service. Just create a public static method on your web page and attribute it with [WebMethod] and you'll be GTG.
Robert C. Barth
A: 

If you have bizarre scripting errors after integrating the AjaxControlToolkit into an existing site, then check to make sure you have setup your web.config properly (including the version numbers for the reference assemblies). You might want to create a new "dummy" AJAX web site in Visual Studio, using the AJAX template, to see what all is needed in the web.config.

sfuqua
A: 

I found the AJAX Control Toolkit solution to be really slow. Of course I'm open to it being my fault. We had already purchased the Telerik suite of controls and used theirs which had pretty good performance.

domus.vita