ASP.NET 3.5 AJAX problem

ASP.NET 3.5 AJAX problem

am 01.02.2008 03:36:11 von maflatoun

Hi all,

I've just upgrade our site to the latest asp.net 3.5 using visual
studio 2008. However, I can not get the AJAX component to work
properly. My application runs fine but it keeps doing a postback on
the whole page when testing AJAX. I tried this Microsoft example as
well and same thing problem. Any idea what could be the problem? It
compiles fine but no

My code was taken from http://asp.net/ajax/documentation/live/ViewSample.aspx?sref= UpdatePanelTutorialIntro5


My code -----------------------------------------------

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="Test_ajax_Default" %>

www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">









runat="server">


Parent UpdatePanel
Last refresh <%=DateTime.Now.ToString() %>





Nested UpdatePanel
Last refresh <%=DateTime.Now.ToString() %>


asp:Calendar>











-----------------------------------------

Thx
M.

RE: ASP.NET 3.5 AJAX problem

am 01.02.2008 22:46:17 von rodoopus

I think it could be a framework target issue. Remember that VS2008 can target
multiple Frameworks and it will behave differently depending on the target.
Point you old application to 2.0 instead and see if it work. Bear in mind
that is you are using the toolkit you will need the 3.5 version of it as
well. It is freaky the toolbox controls just disappear because its the 2.0
version.

Other than this I can't think of anything else.
--
aaa


"mazdotnet" wrote:

> Hi all,
>
> I've just upgrade our site to the latest asp.net 3.5 using visual
> studio 2008. However, I can not get the AJAX component to work
> properly. My application runs fine but it keeps doing a postback on
> the whole page when testing AJAX. I tried this Microsoft example as
> well and same thing problem. Any idea what could be the problem? It
> compiles fine but no
>
> My code was taken from http://asp.net/ajax/documentation/live/ViewSample.aspx?sref= UpdatePanelTutorialIntro5
>
>
> My code -----------------------------------------------
>
> <%@ Page Language="C#" AutoEventWireup="true"
> CodeFile="Default.aspx.cs" Inherits="Test_ajax_Default" %>
>
> > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
>
>
>
>
>
>


>
>

> > runat="server">
>
>

> Parent UpdatePanel
> Last refresh <%=DateTime.Now.ToString() %>

>
>
>
>

> Nested UpdatePanel
> Last refresh <%=DateTime.Now.ToString() %>
>

> > asp:Calendar>
>

>

>

>

>

>

>
>
>

>
>
> -----------------------------------------
>
> Thx
> M.
>