This sounds similar to what you are trying to do.

http://ajax.schwarz-interactive.de/csharpsample/default.aspx

[EMAIL PROTECTED]



Ivan Towlson <[EMAIL PROTECTED]> 
Sent by: "Unmoderated discussion of advanced .NET topics." 
<ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>
07/04/2005 03:36 AM
Please respond to
"Unmoderated discussion of advanced .NET topics." 
<ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>


To
ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
cc

Subject
Re: [ADVANCED-DOTNET] Using a Thread to pipe commands to IE






> Is it possible to write something like HandOffToIE()?

It's possible, but painful.  Between somehow getting IE to listen on the
appropriate port (and respond appropriately) and the ever-popular sport of
persuading the NAT and firewall to cooperate, not to mention dancing 
around
Back buttons, timeouts, etc. etc. etc., a method that tries to drill from
server to client is asking for trouble.

What may be more promising, and what I suspect those "others" do, is to
drill instead from client to server.  Let your ASPX page run to completion
without waiting for the client to do its thing.  Then, in some client-side
JavaScript, open a connection back to the server, and have IE send
information over that connection.

But what about the loop that controls how the page is built?  No 
disrespect,
but the loop looks a little odd.  Do you really want multiple headers and
footers?  Surely not.  It doesn't look like you're controlling how *a* 
page
is built; it looks like you're generating a series of pages, each one
determined by the "return value" from the previous page.  In which case, 
why
not just use postback?

> The old UI is able to execute code, then it pass the UI to the user,
> then the user interacts with the screen, and then the control returns
> the code and continues.

Yep.  That really does sound like postback.  You'd handle the stateful
aspects via session state, not by trying to do it all within one ASPX.
Apologies if I'm missing something here (and I probably am *sigh*).

--
manaaki whenua | manaaki tangata | haere whakamua
http://hestia.typepad.com/flatlander | mailto:[EMAIL PROTECTED]

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at 
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to