Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to run ajax implemented .Net 3.5 to an old version 2.0

Reply
Thread Tools

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

 
 
Digvijay Singh
Guest
Posts: n/a
 
      11-13-2009
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


 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      11-13-2009
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...

--
Patrice

"Digvijay Singh" <> a écrit dans le message de groupe de
discussion : ...
> 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
>
>


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      11-13-2009
On Nov 13, 11:25*am, "Digvijay Singh" <a...@abcd.com> wrote:
> 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/Documentatio...SPNETAJAX.aspx
 
Reply With Quote
 
Gregory A. Beamer
Guest
Posts: n/a
 
      11-13-2009
"Patrice" <http://scribe-en.blogspot.com/> wrote in news:u3LVW#FZKHA.1640
@TK2MSFTNGP06.phx.gbl:

> 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! |
*******************************************
 
Reply With Quote
 
Gregory A. Beamer
Guest
Posts: n/a
 
      11-13-2009
"Digvijay Singh" <> wrote in
news::

> 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! |
*******************************************
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
AJAX Problem - 501 Not Implemented lodge.stuart@gmail.com Javascript 3 10-24-2005 12:12 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57