showModalDialog without the address line

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ton

    showModalDialog without the address line

    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.showModa lDialog("mEdit. aspx?tabel=" + tabel +"&key=" + key,
    null,'location: no;status:no;di alogWidth:500px ;dialogHeight:8 00px;dialogHide :true;');


    The address in the modalform is:


    Does anyone has a better way to solve this problem

    thanx

    ton



  • Mark Rae [MVP]

    #2
    Re: showModalDialog without the address line

    "ton" <ton@nospam.nlw rote in message
    news:f498$49269 717$541ef063$27 939@cache1.tilb u1.nb.home.nl.. .
    Does anyone has a better way to solve this problem
    Yes - don't use showModalDialog , as it's completely non-standard. Use AJAX
    instead:



    --
    Mark Rae
    ASP.NET MVP


    Comment

    • ton

      #3
      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@markNOSPA Mrae.netschreef in bericht
      news:ORK1wI9SJH A.4680@TK2MSFTN GP06.phx.gbl...
      "ton" <ton@nospam.nlw rote in message
      news:f498$49269 717$541ef063$27 939@cache1.tilb u1.nb.home.nl.. .
      >
      >Does anyone has a better way to solve this problem
      >
      Yes - don't use showModalDialog , as it's completely non-standard. Use AJAX
      instead:

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

      Comment

      • Patrice

        #4
        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.n la écrit dans le message de groupe de discussion :
        c1c83$4926cf7d$ 541ef063$14850@ cache3.tilbu1.n b.home.nl...
        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@markNOSPA Mrae.netschreef in bericht
        news:ORK1wI9SJH A.4680@TK2MSFTN GP06.phx.gbl...
        >"ton" <ton@nospam.nlw rote in message
        >news:f498$4926 9717$541ef063$2 7939@cache1.til bu1.nb.home.nl. ..
        >>
        >>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
        >

        Comment

        • Mark Rae [MVP]

          #5
          Re: showModalDialog without the address line

          "ton" <ton@nospam.nlw rote in message
          news:c1c83$4926 cf7d$541ef063$1 4850@cache3.til bu1.nb.home.nl. ..
          >>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


          Comment

          Working...