473,414 Members | 1,751 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Model Forms in ASP?

I need to create a pop-up form in ASP that works like the Windows modal forms where the parent form is locked until action is taken on the child form. How do I create a pop-up form and control the size (smaller than the parent)? Then, how do call it and keep the parent form in the background? I know about reponse.redirect and server.transfer
Thanks for your suggestions!
Nov 18 '05 #1
3 990
Use the JScript ShowModalDialog method
Here's more info:
http://msdn.microsoft.com/library/de...odaldialog.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"digJazz" <an*******@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
I need to create a pop-up form in ASP that works like the Windows modal forms where the parent form is locked until action is taken on the child
form. How do I create a pop-up form and control the size (smaller than the
parent)? Then, how do call it and keep the parent form in the background?
I know about reponse.redirect and server.transfer. Thanks for your suggestions!

Nov 18 '05 #2
I don't think that will work. Can ModalDialogues post data?
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Use the JScript ShowModalDialog method
Here's more info:
http://msdn.microsoft.com/library/de...odaldialog.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"digJazz" <an*******@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
I need to create a pop-up form in ASP that works like the Windows modal forms where the parent form is locked until action is taken on the child
form. How do I create a pop-up form and control the size (smaller than

the parent)? Then, how do call it and keep the parent form in the background?
I know about reponse.redirect and server.transfer.
Thanks for your suggestions!


Nov 18 '05 #3
Sure, they can post back just like any other web page.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"David Jessee" <dj*****@houston.rr.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I don't think that will work. Can ModalDialogues post data?
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Use the JScript ShowModalDialog method
Here's more info:

http://msdn.microsoft.com/library/de...odaldialog.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"digJazz" <an*******@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
I need to create a pop-up form in ASP that works like the Windows
modal forms where the parent form is locked until action is taken on the child
form. How do I create a pop-up form and control the size (smaller than

the
parent)? Then, how do call it and keep the parent form in the background? I know about reponse.redirect and server.transfer.
Thanks for your suggestions!



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: deko | last post by:
I'm hoping someone can sanity check my understanding of the Object Model for Forms/Controls. I'm having trouble drilling down into Control properties. First, I have a record set with the...
2
by: bob | last post by:
Hello, I want to show progress to the user while some method is running so I thought I'd use a progress bar. But I don't see how I can do this without writing GUI code in the model? In...
12
by: Mike Gaab | last post by:
Hi, A newcomer to .Net (I've held out as long as I can.). I am using VS.Net 2003. I am writing some web apps and I am confronted with the usual issues that one faces when coming from a Windows,...
5
by: Jeff S | last post by:
I'm implementing the Model View Presenter (MVP) pattern in a Windows Forms application. There is a need to control which forms (views) are accessible by specific users, and for some forms (views)...
12
by: Doug | last post by:
Hi, I learned a little about the model view presenter pattern at a conference this last week and am experimenting with it. It's working pretty well but I have a question. I am trying to use...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.