Re: Reload Page Command
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 05/15/04
- Next message: mircu: "Re: Dispose pattern in ASP.NET pages"
- Previous message: Warren J. Hairston: "Re: Best way to create multi-page "wizards'"
- In reply to: Alan Z. Scharf: "Re: Reload Page Command"
- Next in thread: Alan Z. Scharf: "Re: Reload Page Command"
- Reply: Alan Z. Scharf: "Re: Reload Page Command"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 15 May 2004 07:09:33 GMT
Hi Alan,
Thanks for the response. As for the #1 and #2 in your further description,
I don't think they're possible. You means you want to refresh the iframe
page only when the async call finish? Then, I wonder how you make the async
call ,at clientside or at serverside? If at serverside, since the web based
application is request/response mode, we can't get the async call 's call
back and the only way is to constantly refresh the page(post back to
server) to query the serverside state info, do you think so?
As for the
===========================
(a) calling a "submit" of the iFrame on the Progress page, or
(b) passing a submit command through to the Refresh page from the Progress
page completion handlers?
===========================
you mentioned, do you mean using javascript to post back the iframe page ?
If so, this is ok, we can referece the iframe element in the Progress page
via
var frm = document.getElementById(iframeId);
Then call
frm.document.forms[0].submit(); to submit the iframe page(refresh page).
In fact, this is the general javascript skills. Here are some web resources
on manipulating iframe in javascript
http://developer.netscape.com/support/faqs/champions/javascript.html#4
http://www.quirksmode.org/js/iframe.html
http://www.xs4all.nl/~ppk/js/iframe.html
###################
In addition, I'm not sure whether you've ever trying calling webservice via
DHTML javascript in web page? This is also a means to call serverside
webservice in clientside script so as to prevent page be postedback to
server. Here is the reference in MSDN:
#Accessing Web Services From DHTML
http://msdn.microsoft.com/library/en-us/dndude/html/dude01222001.asp?frame=t
rue
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservic
e/overview.asp
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
- Next message: mircu: "Re: Dispose pattern in ASP.NET pages"
- Previous message: Warren J. Hairston: "Re: Best way to create multi-page "wizards'"
- In reply to: Alan Z. Scharf: "Re: Reload Page Command"
- Next in thread: Alan Z. Scharf: "Re: Reload Page Command"
- Reply: Alan Z. Scharf: "Re: Reload Page Command"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|