Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 9th, 2007, 12:44 PM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jlrolin Send a message via MSN to jlrolin
Default UpdatePanel/ModalPopUp Postback Problem

In my IIS 5 Test Environment, I have a ModalPopup come up and show some options that are populated from a DB. When I hit the "Save" button on the Panel, it hits my click event handler and updates the DB, then repopulates the page with data without a postback.

In IIS 6, on my production server, it posts back the entire page on that button click. Why is it doing this in production, but not on my machine's environment?

________________________
ASP.NET 1.1/2.0 Developer
VB.NET Developer
__________________
________________________
ASP.NET 1.1/2.0 Developer
VB.NET Developer
  #2 (permalink)  
Old August 9th, 2007, 06:49 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Where are you testing this page? What browser in what environment?

This could be because you are trying to test this from I.E. on the server itself. The default installation of I.E. is pretty locked down on windows server 2003. It could simply be because I.E. isn't set to support the complex javascript needed by ajax.

-Peter
  #3 (permalink)  
Old August 13th, 2007, 08:09 AM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jlrolin Send a message via MSN to jlrolin
Default

It works on my local machine environment in Firefox, IE 6, IE 7. So I don't think it's limited by IE. I've heard it's possibly an installation on the server that is out of date, but would an out of date AJAX extension cause the Popup to still come up, but the UpdateProgress and the UpdatePanel to not work correctly?

________________________
ASP.NET 1.1/2.0 Developer
VB.NET Developer
  #4 (permalink)  
Old August 13th, 2007, 01:23 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Can you explain more about the application configuration in general?

Is this a compiled web application project or a web site? Does it have a web config?

Can you view the source HTML for the version that isn't working and see if all the AJAX parts are getting emitted the same way as for the working version?

Is this site somewhere public where we could look at it to diagnose the problem?

-Peter


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postback problem dbrook007 ASP.NET 2.0 Professional 3 May 8th, 2008 01:02 AM
Problem with ajax updatepanel alexmalayil ASP.NET 2.0 Professional 0 October 18th, 2007 05:07 AM
UpdatePanel Problem? rajatbirth_1978 .NET Framework 2.0 0 February 14th, 2007 02:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.