ASP.NET ICallbackHandler - Script callbacks....

G

Guest

While cruising through the script files that help to implement script
callbacks in 2.0, I noticed that there is no code path to handle a return
string that doesn't match the parsing logic - it just falls through and
nothing happens.

My scenario is this: My web app session times out/application error occurs
when I make my script callback...my application 'normally' redirects users to
the login form and/or error page (HTTP 302, etc..)...but the script callback
functions (specifically, the parsing logic in WebForm_ExecuteCallback) do not
handle any thing other than expected results (looking only for the 's' or 'e'
prefixes), nor do they check the response codes explicitly. This was easy
when using the objects 'by hand', but....

Is there a workaround for this in 2.0 callbacks (other than using my own
libraries), and has this been addressed in Atlas????

TIA,
Mike
 
G

Guest

Atlas addresses most of these issues. If you are looking for a Remote
Scripting ("AJAX") infrastructure that is lightweight and well - thought out,
to handlle this kind of requirement in the meantime, and works with both
ASP.NET 1.1 and 2.0, take a look at Jason Diamond's "Anthem.Net" which can be
found at Sourceforge.net
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top