Friday, March 16, 2012

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!Use the JScript ShowModalDialog method
Here's more info:
http://msdn.microsoft.com/library/d...modaldialog.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"digJazz" <anonymous@.discussions.microsoft.com> wrote in message
news:9AFDC022-F789-4473-A947-60D6E4F7BBB3@.microsoft.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!
I don't think that will work. Can ModalDialogues post data?

"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:%23WdHCLvNEHA.3668@.TK2MSFTNGP11.phx.gbl...
> Use the JScript ShowModalDialog method
> Here's more info:
http://msdn.microsoft.com/library/d...modaldialog.asp
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
>
> "digJazz" <anonymous@.discussions.microsoft.com> wrote in message
> news:9AFDC022-F789-4473-A947-60D6E4F7BBB3@.microsoft.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!
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" <djessee@.houston.rr.com> wrote in message
news:%23gaBjH0NEHA.2708@.TK2MSFTNGP11.phx.gbl...
> I don't think that will work. Can ModalDialogues post data?
>
> "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> news:%23WdHCLvNEHA.3668@.TK2MSFTNGP11.phx.gbl...
> > Use the JScript ShowModalDialog method
> > Here's more info:
http://msdn.microsoft.com/library/d...modaldialog.asp
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> > "digJazz" <anonymous@.discussions.microsoft.com> wrote in message
> > news:9AFDC022-F789-4473-A947-60D6E4F7BBB3@.microsoft.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!

0 comments:

Post a Comment