AJAX and VS2010
AJAX and VS2010
AJAX and VS2010
AJAX and VS2010
AJAX and VS2010
AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010
AJAX and VS2010 AJAX and VS2010
AJAX and VS2010
Go Back  Xtreme Visual Basic Talk > > > AJAX and VS2010


Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2011, 01:46 PM
jpalatine jpalatine is offline
Centurion
 
Join Date: Oct 2003
Posts: 110
Default AJAX and VS2010


Hi, I am using VS2010 VB. I would like to use some of the AJAX controls, especially the drag and drop control. I tried using VS2008 and all I did was corrupt my development environment. So my question is easy: With VS2010 there are already AJAX controls integrated into the product. How do I include the other controls. I tried to just add them to the toolbox but that didn't work since they were not there, Do I need to download the toolkit from the AJAX website, then do 'choose tools from the toolbox. The websites are silent about VS2010 and AJAX. They give the impression that downloading AJAX toolkit is not needed for VS2010. I don't want to corrupt my VS2010 environment. Thanks, Jim
Reply With Quote
  #2  
Old 02-21-2011, 04:15 PM
surfR2911 surfR2911 is offline
Contributor
 
Join Date: Oct 2009
Posts: 719
Default Breaking the silence of the websites

I know nothing about the Ajax Control Toolkit and have never used VS2010 but I do know how to use Google --which quickly brought up a whole bunch of links (among 27.000) that may help break the "silence" (or at least make it a little less deafening..).

Here's a little mini-tutorial:
"Installing AJAX Control Toolkit 4 in Visual Studio 2010"
http://weblogs.asp.net/yousefjadalla...udio-2010.aspx

I believe this replaces the older Nannette Ajax Control Toolkit install tutorial that was for VS2008 and .net 3.51:
http://weblogs.asp.net/nannettethack...developer.aspx

It has a link to the main Codeplex download..but please carefully read all the comments (towards the bottom of the page) about the issues regarding AJCT before downloading:
http://ajaxcontroltoolkit.codeplex.c...ses/view/43475

Two similar quotes:
Quote:
the Ajax Control toolkit you get from CodePlex was built for 3.5 framework. If you want to use it with a 4.0 website, you need to get the source and rebuild it targeting 4.0
From this forums.asp.net page:
http://forums.asp.net/t/1508847.aspx
Quote:
The ACT 3.0 cannot be used in in VS 2010. You need to download the source, migrate it to 4.0, build it, and use the new dll there.
From this Microsoft connect page:
http://connect.microsoft.com/VisualS...ctly-in-vs2010

Here's link to the Microsoft Ajax Minifier:
http://aspnet.codeplex.com/releases/view/40584

Here's a nice "ASP.NET 4 and Visual Studio 2010 Web Development Overview"
http://www.asp.net/learn/whitepapers/aspnet4

Working with (and integrating) AJAX Control Toolkit and VS 2010
http://forum.my-ajax-site.com/details.aspx?postid=181

Working with different versions of AjaxControlToolkit in Visual Studio 2010
http://blogs.msdn.com/b/webdevtools/...udio-2010.aspx

Common issues

Extender controls (like the Calendar control( can't be dragged from the Visual Studio Toolbox onto the Visual Studio designer's design surface. (See FAQ#2):
http://www.asp.net/ajaxlibrary/act_faq.ashx

Regarding the missing "AJAX Web Form" option in VS2010 (includes a stackoverflow workaround link):
http://p2p.wrox.com/book-beginning-v...vs-2010-a.html

In pages section on web.config define clientIDMode="AutoID"
from this page:
http://ajaxcontroltoolkit.codeplex.com/workitem/26768

'System.Web.UI.ScriptManager' is not defined
The two main resaons are:
1.) Improper assembly referencing (error occurs when there are similiar references found in two assemblies):

2.) Incorrect or missing registry key
http://stackoverflow.com/questions/2...jax-extensions

Ajax Control Toolkit - Controls Disabled in Tool Box:
http://weblogs.asp.net/yaneshtyagi/a...-tool-box.aspx

Bug in generating the designer.cs file in VS2010 (Converting VS2008 project to VS2010) :
http://connect.microsoft.com/VisualS...rting-vs2008-p

roject-to-vs2010

Regarding "Sys is undefined error" when using VS2010 and hitting F5 to debug an aspx page with ajax controls:
http://ajaxcontroltoolkit.codeplex.com/workitem/26878

Complete list of 1503 "work items" on the ajaxcontroltoolkit.codeplex Issue Tracker page:
http://ajaxcontroltoolkit.codeplex.c.../list/advanced

Last edited by surfR2911; 02-21-2011 at 04:27 PM.
Reply With Quote
  #3  
Old 02-22-2011, 11:16 AM
jpalatine jpalatine is offline
Centurion
 
Join Date: Oct 2003
Posts: 110
Default

Thanks for the input. I also received those links when I searched for an answer. My problem was that there are as many caveats as there are links. It's tough for us older guys to decide what to install, especially when we have a gaggle of users out there waiting for the latest upgrades. So I took the plunge and went to the AJAX website and am installing the latest and greatest. It would be geat if there were a place to go where you put in your development tool, e.g. VS2010, language, e.g. VB, database, e.g.SQL 2008, etc and it came back with the proper links of what would be compatible, recommended, etc. Thanks, Jim
Reply With Quote
  #4  
Old 02-22-2011, 02:02 PM
surfR2911 surfR2911 is offline
Contributor
 
Join Date: Oct 2009
Posts: 719
Default Wouldn't it be nice..

Quote:
Originally Posted by jpalatine
t would be great if there were a place to go where you put in your development tool, e.g. VS2010, language, e.g. VB, database, e.g.SQL 2008, etc and it came back with the proper links of what would be compatible, recommended, etc.
Indeed it would be nice, but I've learned over the years not to expect it because when you talk about it being "tough for us older guys", I started Windows programming back in 1989 using Microsoft C 5.0 when there wasn't even a real internet (just Arpanet).
The only non-SDK resource I had to guide me was the first (and at that time only) Windows programming book ever published, Charles Petzold's Programming Windows, 1st edition.

So all I can say is:
1.) Be glad you have an internet searchable by a GUI browser.
2.) Never expect Microsoft to be overly helpful (I guess their thinking is: Developers are supposed to be smart enough to figure some things out for themselves)
3.) Please post all relevant links ("I also received those links when I searched for an answer") you found, previous to posting a question --so people who spent time replying to your post have as much info as possible in framing a possible reply/answer.
4.) Always maintain multiple Visual Studio development environments (preferably on multiple computers or sandbox-ed) as you are transitioning from one version to the other and be prepared to rebuild your development environment multiple times.
I have re-installed VS.Net dozens of times, wiping/reformatting hard drives, doing fresh Windows installs, and playing around with all kinds of configurations.
Quote:
Originally Posted by jpalatine
So I took the plunge and went to the AJAX website and am installing the latest and greatest.
Yes its very time consuming and not fun but sometimes its what you have to do to determine the optimal configuration for what you are doing.
Right now I'm still trying to transition from VS2005 to VS2008. I won't touch VS2010 until VS2012 or later comes out (but I'm only a "hobbyist" programmer not tied to a corporate production environment at this time and not forced onto the "bleeding edge" of things which I know is a very frustrating place to be).

Last edited by surfR2911; 02-22-2011 at 02:20 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
AJAX and VS2010
AJAX and VS2010
AJAX and VS2010 AJAX and VS2010
AJAX and VS2010
AJAX and VS2010
AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010 AJAX and VS2010
AJAX and VS2010
AJAX and VS2010
 
AJAX and VS2010
AJAX and VS2010
 
-->