Connecting Tech Pros Worldwide Help | Site Map

showModalDialog without the address line

  #1  
Old November 21st, 2008, 11:15 AM
ton
Guest
 
Posts: n/a
Hi,

I'm opening a modalwebform, in which I use to parameters to show a database
record. i do not want that people will see the way I call the record, so I
want to hide these variables. I thought it would be possible to hide the
address line.

This is the way I call the modal window:
window.showModalDialog("mEdit.aspx?tabel=" + tabel +"&key=" + key,
null,'location:no;status:no;dialogWidth:500px;dial ogHeight:800px;dialogHide:true;');


The address in the modalform is:
http://localhost:52354/WebSite2/mEdi...bel=13&key=449

Does anyone has a better way to solve this problem

thanx

ton



  #2  
Old November 21st, 2008, 12:15 PM
Mark Rae [MVP]
Guest
 
Posts: n/a

re: showModalDialog without the address line


"ton" <ton@nospam.nlwrote in message
news:f498$49269717$541ef063$27939@cache1.tilbu1.nb .home.nl...
Quote:
Does anyone has a better way to solve this problem
Yes - don't use showModalDialog, as it's completely non-standard. Use AJAX
instead:
http://www.google.co.uk/search?sourc...ax+modal+popup


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

  #3  
Old November 21st, 2008, 03:15 PM
ton
Guest
 
Posts: n/a

re: showModalDialog without the address line


do you expect that I can call a popup and in this popup can I again call the
same popup and so on. Because I want to popup the parent and from the parent
record again his parent and so on ?


thanx any how

ton
"Mark Rae [MVP]" <mark@markNOSPAMrae.netschreef in bericht
news:ORK1wI9SJHA.4680@TK2MSFTNGP06.phx.gbl...
Quote:
"ton" <ton@nospam.nlwrote in message
news:f498$49269717$541ef063$27939@cache1.tilbu1.nb .home.nl...
>
Quote:
>Does anyone has a better way to solve this problem
>
Yes - don't use showModalDialog, as it's completely non-standard. Use AJAX
instead:
http://www.google.co.uk/search?sourc...ax+modal+popup
>
>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
  #4  
Old November 21st, 2008, 03:55 PM
Patrice
Guest
 
Posts: n/a

re: showModalDialog without the address line


IMO the first step would be to explain your overall goal. For now it looks
like it will create a quite confusing user interface especially if the whole
pile of windows is really supposed to be modal. Why do you need several
level of modal windows especially in a web application ?


--
Patrice


"ton" <ton@nospam.nla écrit dans le message de groupe de discussion :
c1c83$4926cf7d$541ef063$14850@cache3.tilbu1.nb.hom e.nl...
Quote:
do you expect that I can call a popup and in this popup can I again call
the same popup and so on. Because I want to popup the parent and from the
parent record again his parent and so on ?
>
>
thanx any how
>
ton
"Mark Rae [MVP]" <mark@markNOSPAMrae.netschreef in bericht
news:ORK1wI9SJHA.4680@TK2MSFTNGP06.phx.gbl...
Quote:
>"ton" <ton@nospam.nlwrote in message
>news:f498$49269717$541ef063$27939@cache1.tilbu1.n b.home.nl...
>>
Quote:
>>Does anyone has a better way to solve this problem
>>
>Yes - don't use showModalDialog, as it's completely non-standard. Use
>AJAX instead:
>http://www.google.co.uk/search?sourc...ax+modal+popup
>>
>>
>--
>Mark Rae
>ASP.NET MVP
>http://www.markrae.net
>
  #5  
Old November 21st, 2008, 04:15 PM
Mark Rae [MVP]
Guest
 
Posts: n/a

re: showModalDialog without the address line


"ton" <ton@nospam.nlwrote in message
news:c1c83$4926cf7d$541ef063$14850@cache3.tilbu1.n b.home.nl...
Quote:
Quote:
Quote:
>>Does anyone has a better way to solve this problem
>>
>Yes - don't use showModalDialog, as it's completely non-standard. Use
>AJAX instead:
>http://www.google.co.uk/search?sourc...ax+modal+popup
>
Do you expect that I can call a popup and in this popup can I again call
the same popup and so on. Because I want to popup the parent and from the
parent record again his parent and so on ?
I have to say that I don't know, as I've never even considered doing what
you're suggesting.

The purpose of a modal dialog is to force the user to concentrate on one
exercise and not allow them to move away from that exercise until it is
complete - that's what "modal" means...

Popups calling popups calling popups sounds like a total nightmare to me...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Closed Thread