Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 494
  • Last Modified:

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

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
rkulp
Asked:
rkulp
  • 3
  • 2
2 Solutions
 
rawinnlnx9Commented:
You need this: http://www.asp.net/ajaxlibrary/act.ashx

Then add the Ajax controls to your toolbox in their own tab.
0
 
rkulpAuthor Commented:
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
 
rawinnlnx9Commented:
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
 
rkulpAuthor Commented:
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
 
rkulpAuthor Commented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now