Hi Peter,
Thank you for using Microsoft Newsgroup Sevice. Based on your description,
you are wanting to apply the popup dialog model in the Winform application
to the ASP.NET web application? Is my understanding correct?
I've viewed the weblink provided by Kikoz, I think it a very good
instruction on performing pop dialog style in web based application.
http://msdn.microsoft.com/workshop/author/om/windows_frames_dialogs.asp
Generally, to provided dialog in web pages, you should use the javascript
function such as "OpenModalDialog", and pass a window handle as parameter
to it. Then, you can control the original window from the popuped dialog
browser window. The key points is to make proper use of the javascript's
window objects and fuctions. For more detailed instructions or tutorial on
this, you can visit the following weblink :
http://msdn.microsoft.com/workshop/author/om/doc_object.asp?frame=true
BTW, although we can perform such dialog style in web applicaion, I still
don't think it the most proper way in such web based apps. The web based
application cosist of web pages which is display separately in the client
side web browser. If you used the javascript client side skill to provide
the communication between different browser windows, it all depends on the
client condition, also it is somewhat uncomfortable to write the client
script. In web application, the generic pattern for such situation is to
using two pages. When need to popup another page to do some changes, we can
just navigator( redirect) to the new page, after finishing the operation
then go back(also can use redirect) to the former page. This can make the
programming logic in web applicatino more easier and comfortable to
realize. Do you think so?
Please have a try on the above suggestions. If you have any questions,
please feel free to let me know.
Merry Christmas!!
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)