473,503 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ajax postback causing Page reload after normal events life cycle

Hi,

I have the following problem in asp 1.1. On my web page, when I click on a
menu, a postback is generated. On the post back, I create dynamically with
LoadControl a WebGrid (from InterSoft) that I want to display back. And it
works.

But this grid generate “asynchronous postbacks” when the user update a line
on the grid. I catch on server side this postback and IsPostback is true has
expected. I go through the entire expected event up to PreRender. But after
that, the whole page seem to load again, IsPostback is false and I go trough
all events again before going finally on client side

So after the asynchronous postback generated by the grid, I get my initial
page and everything is lost. I don’t know why the page load again, it was
working initially (I used to make work those ajax postback) but obliviously I
changed something that make my page going like this.

Some one has an idea? Thanks

Mar 14 '06 #1
1 2147
Since the Remote Scripting client callback (or, "AJAX") mechanism is
different for each vendor, I'd suggest the first place to go is the control
vendor's site or help forums. If you are having the issue, most likely others
have too and that's where you would have the highest chance of getting an
answer specific to that vendor's control.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Louis-Philippe Dumoulin" wrote:
Hi,

I have the following problem in asp 1.1. On my web page, when I click on a
menu, a postback is generated. On the post back, I create dynamically with
LoadControl a WebGrid (from InterSoft) that I want to display back. And it
works.

But this grid generate “asynchronous postbacks” when the user update a line
on the grid. I catch on server side this postback and IsPostback is true has
expected. I go through the entire expected event up to PreRender. But after
that, the whole page seem to load again, IsPostback is false and I go trough
all events again before going finally on client side

So after the asynchronous postback generated by the grid, I get my initial
page and everything is lost. I don’t know why the page load again, it was
working initially (I used to make work those ajax postback) but obliviously I
changed something that make my page going like this.

Some one has an idea? Thanks

Mar 14 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7148
by: Cindy | last post by:
Hi all you smarties out there, I'm having a little conundrum with my asp.net page Scenario: I have a form (asp.net) with no code behind (as yet). I have placed a javascript function on a...
2
4313
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
3
4609
by: Kurt Schroeder | last post by:
I'm setting focus depenting upon which field has changed value. I'm doing this with the following: Page.RegisterStartupScript("SetFocus", "<script language=""Jscript"" >...
4
2525
by: Rob Meade | last post by:
Hi all, I played with my first bit of AJAX the other week and was pleasantly surprised that I achieved my goal..now I'd like to try something else.. Question... If I have an updatePanel,...
2
3899
by: John Kotuby | last post by:
Hi guys, I am converting a rather complicated database driven Web application from classic ASP to ASP.NET 2.0 using VB 2005 as the programming language. The original ASP application works quite...
1
9144
by: gabe | last post by:
How do you call a client side javascript callback method after an update panel has posted back to the server? I have two update panels (A + B) with a gridview in each panel. GridView B has a...
1
1300
by: m.bagattini | last post by:
Hello folks, I'm in trouble with an application using methodologies in subject. The idea is to have a single-page application. The host aspx page coordinates all visualizations, loading and...
7
6633
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
2
1808
by: Alec MacLean | last post by:
Hi, I have a page using AJAX. The page has three modal popups that work fine when I don't have field validators in place. As soon as I put a validator in place, the popup "form" the validator...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.