How to run ajax implemented .Net 3.5 to an old version 2.0

D

Digvijay Singh

Hi,

I have developed a Web Application in .Net 2008 and implemented
<asp:UpdatePanel /> in it.
But now I am trying to build it in .Net Version 2.0.
But it gives an error -- "Error 1 Unknown server tag 'asp:UpdatePanel' ".
I have downloaded earlier version of AjaxControlToolKit, but it does not
work.
What I have to do to build this code in version 2.0

Thanks and Regard
Dg
 
P

Patrice

The UpdatePanel is not part of 2.0 or the Ajax Toolkit. This is an
additional "Ajax extension for 2.0" download...

Also as 3.5 is just 2.0 plus additional stuff, I would double check if you
and your customers are not ready yet to upgrade to 3.5...
 
G

Guest

Hi,

I have developed a Web Application in .Net 2008 and implemented
<asp:UpdatePanel /> in it.
But now I am trying to build it in .Net Version 2.0.
But it gives an error -- "Error 1 Unknown server tag 'asp:UpdatePanel' ".
I have downloaded earlier version of AjaxControlToolKit, but it does not
work.
What I have to do to build this code in version 2.0

Thanks and Regard
Dg

Add reference to System.Web.Extensions.dll. In the web.config file add
into system.web section

<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>

Read more here: http://www.asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx
 
G

Gregory A. Beamer

The UpdatePanel is not part of 2.0 or the Ajax Toolkit. This is an
additional "Ajax extension for 2.0" download...

Clarification: It is part of the ASP.NET AJAX 1.0 download.

Peace and Grace,
Greg

--
Vote for Miranda's Christmas Story
http://tinyurl.com/mirandabelieve

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
G

Gregory A. Beamer

I have developed a Web Application in .Net 2008 and implemented
<asp:UpdatePanel /> in it.
But now I am trying to build it in .Net Version 2.0.
But it gives an error -- "Error 1 Unknown server tag 'asp:UpdatePanel'
". I have downloaded earlier version of AjaxControlToolKit, but it
does not work.
What I have to do to build this code in version 2.0


1. Make sure you have downloaded and installed the AJAX 1.0 bits.
http://www.asp.net/ajax/downloads/archive/

2. Find the registration tags for AJAX and change from the 3.5 version
to the 2.0 version. This is normally in web.config, but you may have
some in each page if you did not use a 3.5 AJAX web template to create
the site. If in each page, it is better to put in web.config and delete
the individual page registrations so you can move back to 3.5 later.

In general, this is all you have to do. If you have any issues, ensure
the AJAX bits are properly registered in the GAC, or create a project
refreence to the DLL so it will go to the /bin folder.

Peace and Grace,
Greg


--
Vote for Miranda's Christmas Story
http://tinyurl.com/mirandabelieve

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top