|
|
|
start date: Thu, 02 Aug 2007 07:05:23 -0700,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
JimL
|
|
2
JimL
|
|
3
Showjumper nlsdkfja
|
ASP.NET AJAX / scriptmanager problem
Hi,
I've been given the job of "Ajaxifying" an existing application. If I
create a new test page in the application, Ajax works fine. However
when I add a scriptmanager and updatepanel to an existing page, it
doesn't work - the page just gets completely refreshed.
In each case, the Ajaxy parts of the .aspx file look identical, but
when I look at the HTML in the browser page, I find that in the
failing example, there is script at all for the scriptmanager.
Anyone suggest why this might be?
thanks,
Jim
Date:Thu, 02 Aug 2007 07:05:23 -0700
Author:
|
Re: ASP.NET AJAX / scriptmanager problem
On 2 Aug, 15:05, JimL wrote:
> Hi,
>
> I've been given the job of "Ajaxifying" an existing application. If I
> create a new test page in the application, Ajax works fine. However
> when I add a scriptmanager and updatepanel to an existing page, it
> doesn't work - the page just gets completely refreshed.
>
> In each case, the Ajaxy parts of the .aspx file look identical, but
> when I look at the HTML in the browser page, I find that in the
> failing example, there is script at all for the scriptmanager.
Sorry, that should be "no script at all"
Date:Thu, 02 Aug 2007 07:25:56 -0700
Author:
|
Re: ASP.NET AJAX / scriptmanager problem
So what i can gather from your post is that you are not getting the partial
page updates with the UpdatePanel, correct?
Make sure you have EnablePartialRendering set to true, also i found if the
code behind method has the handles clause on it then the partial page
updates dont work - the whole page posts back,
"JimL" wrote in message
news:1186064756.503522.75750@57g2000hsv.googlegroups.com...
> On 2 Aug, 15:05, JimL wrote:
>> Hi,
>>
>> I've been given the job of "Ajaxifying" an existing application. If I
>> create a new test page in the application, Ajax works fine. However
>> when I add a scriptmanager and updatepanel to an existing page, it
>> doesn't work - the page just gets completely refreshed.
>>
>> In each case, the Ajaxy parts of the .aspx file look identical, but
>> when I look at the HTML in the browser page, I find that in the
>> failing example, there is script at all for the scriptmanager.
>
> Sorry, that should be "no script at all"
>
Date:Thu, 2 Aug 2007 18:28:59 -0400
Author:
|
|
|