Modal behaviour of form

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
 
C

Curt_C [MVP]

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.
 
P

Peter Morris [Droopy Eyes Software]

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
 

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
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top