Modal behaviour of form

  • Thread starter Thread starter Smith John
  • Start date Start date
S

Smith John

Questions is related to ASP.Net (in VB.Net).
How to replicate the modal behaviour of desktop application in ASP.Net
application.
Thanks,
Smith John
 
you could use the windows.showModalDialog() javascript call, but it has
limited functionality.
I usually just go to another page, get the input, then redirect back passing
in the info.
 
I usually just go to another page, get the input, then redirect back
passing
in the info.

At this point, how would the opened window tell the opener to submit and
perform specific processing? Eg

1) Window has a "Customer" lookup. It is a hidden CustomerID + a label
showing the customer name.
2) User clicks the "Search" button next to the Customer Name label.
3) Popup window opens, they select a customer etc.
4) In the popup the user clicks OK.
5) The popup sets the CustomerID in the form of the original window
6) At this point I would need the original window to refresh with the new
CustomerID + lookup the new customer name.

#6 is where I would get stuck, the page would need to know it IsPostBack +
know which specific code to execute (as if a button had been clicked).


--
Pete
=============
http://www.DroopyEyes.com - Delphi source code
Audio compression components, Fast Strings, DIB Controls

Read or write article on just about anything
http://www.HowToDoThings.com
 
Back
Top