PC Review

Thread Tools Rate Thread

Any way to convert an async postback to a full postback incode-behind?

Ed Cayce
Posts: n/a
      8th Aug 2009
Here is the deal - I have some controls in an UpdatePanel. Most of
the time, the code-bhind that responds to these controls will do fine
wiith an async postback. But in some cases, determined only by what
happens in code-behind, I need to refresh the entire page and not just
what is in the Update Panels.

Any way to do this? I have searched and have not found an answer.
The only kludge i can think of is to register a stratup script that
then posts the whole page back - but I don't want to post back twice,
with all the overhead in entails.

Server.Transfer to same page loses all the viewstate info.


Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect without async but get timeout error when async=true Joseph Microsoft ADO .NET 5 16th Jul 2008 10:13 PM
writing an async client (sockets/async/thread) asharda@woh.rr.com Microsoft C# .NET 8 17th Mar 2008 11:04 PM
exclude control in updatepanel from doing async postback Jeremy Microsoft ASP .NET 1 10th Oct 2007 10:42 PM
Any harm in using Async=true to sql server 2005 for non-async db calls Chris Becker Microsoft ADO .NET 1 23rd Mar 2007 01:18 AM
Async in asp.net 2.0 and async application block =?Utf-8?B?TGVuZWlzZTQ0?= Microsoft Dot NET 2 4th Jan 2006 04:41 AM




All times are GMT +1. The time now is 02:09 PM.