DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us