Solved

How to AJAX Enable a .Net 2.0 Web Application That Has Been Converted to VS 2010 Format

Posted on 2011-02-17
5
472 Views
Last Modified: 2012-06-27
I have a web application that I built in VS 2005 and then converted to VS2010. Is is not AJAX enabled but I would like to AJAX enable it. Every reference I can find shows menues or options that do not show in my VS 2010 Professional installation. I would appreciate a reference or a set of steps that will guide me through AJAX enabling this web application.
0
Comment
Question by:rkulp
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:rawinnlnx9
Comment Utility
You need this: http://www.asp.net/ajaxlibrary/act.ashx

Then add the Ajax controls to your toolbox in their own tab.
0
 
LVL 1

Author Comment

by:rkulp
Comment Utility
How does this enable the old web application? I already have AJAX extensions in my tool box and can use them for new projects. It's just this application that gives me the sys.webforms.PageRequestManager errors. None of the references I have found, either here or on the web, seem to work for VS 2010 (or, as is often the case, I am just too dense to recognize how they work).
0
 
LVL 9

Accepted Solution

by:
rawinnlnx9 earned 500 total points
Comment Utility
I totally misunderstood your question. Do you have this in the pages you are using Ajax?

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

Open in new window

0
 
LVL 1

Assisted Solution

by:rkulp
rkulp earned 0 total points
Comment Utility
rawinnlnx9,

Thanks for your response. I don't have that line in the pages in either the new projects or this one. But you did give me a great hint. The update panel is not in the AjacControlToolkit so I don't need that statement. However, I did need to change the target of the web app from .Net 2.0 to .Net 3.5. Once that was done, the update panel worked properly. Thanks for your help.
0
 
LVL 1

Author Closing Comment

by:rkulp
Comment Utility
It prompted me to look in the right direction. Without a doubt, if I had floundered, jawinnlnx9 would have guided me to the correct solution. Thanks for all the help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now