ASP.NET Popup Windows

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default ASP.NET Popup Windows

    Need help with creating a popup windwo in ASP.NET when I load a page?

    This is what I have so far

    <SCRIPT language="javascript">
    function OpenWindow()
    {
    var x =
    window.open('MRFilingStatus.aspx','FS','width=425, height=200,resizeable=yes,menubar=0,toolbar=0')
    x.focus
    }
    </SCRIPT>

    Then in my body tag I have "onload=OpenWindow"
    <body MS_POSITIONING="GridLayout" onload="OpenWindw" leftmargin="0"
    topmargin="0">



    Mario Guest

  2. Similar Questions and Discussions

    1. Popup Windows
      Hi, I have an ASP application. On one of my pages I have a link to a popup. This popup has a link. When the user clicks this link my popup...
    2. Flash/Director PopUP Windows
      I'm designing popup windows in flash and importing them as swf in director/shockwave. to make them visibile on the director stage i use this...
    3. Popup-Windows over the net
      Which is the best way to make pop-up windows that calls other files, like Flash,Quicktime.........and more over the internet?
    4. How to return a keyvalue from popup windows with datagrid control to parent windows through JavaScript?
      How to return a keyvalue from popup windows with datagrid control to parent windows through JavaScript?
    5. A Discovery with PopUp Windows
      I recently discovered that when you view a popup in IE -vs- Netscape, The window in Netscape previews approx. 1/8" smaller from the right and from...
  3. #2

    Default Re: ASP.NET Popup Windows

    First, please avoid posting the same question in different places. You'll
    get the same answer from different people, and often they'll end up
    conflicting, or they'll confuse you. In some cases they might even open up
    a wormhole in the time space continuum which might collapse upon itself.
    :-(

    <SCRIPT language="javascript">
    function OpenWindow()
    {
    var x =
    window.open('MRFilingStatus.aspx','FS','width=425, height=200,resizeable=yes,menubar=0,toolbar=0');
    }
    </SCRIPT>

    <body MS_POSITIONING="GridLayout" onload="OpenWindow();" leftmargin="0"
    topmargin="0">


    That should work.

    S.M. Altaf
    [MVP - VB]

    --------------------------------------------------------------------------------
    All that glitters has a high refractive index.
    [url]www.mendhak.com[/url]


    "Mario" <moone@charter.net> wrote in message
    news:n7_4f.13237$nE2.2818@fe03.lga...
    > Need help with creating a popup windwo in ASP.NET when I load a page?
    >
    > This is what I have so far
    >
    > <SCRIPT language="javascript">
    > function OpenWindow()
    > {
    > var x =
    > window.open('MRFilingStatus.aspx','FS','width=425, height=200,resizeable=yes,menubar=0,toolbar=0')
    > x.focus
    > }
    > </SCRIPT>
    >
    > Then in my body tag I have "onload=OpenWindow"
    > <body MS_POSITIONING="GridLayout" onload="OpenWindw" leftmargin="0"
    > topmargin="0">
    >
    >
    >

    S.M. Altaf [MVP] Guest

  4. #3

    Default Re: ASP.NET Popup Windows

    You must include the parenthesis in the function call as they are part of
    the function's name.


    "Mario" <moone@charter.net> wrote in message
    news:n7_4f.13237$nE2.2818@fe03.lga...
    > Need help with creating a popup windwo in ASP.NET when I load a page?
    >
    > This is what I have so far
    >
    > <SCRIPT language="javascript">
    > function OpenWindow()
    > {
    > var x =
    > window.open('MRFilingStatus.aspx','FS','width=425, height=200,resizeable=yes,menubar=0,toolbar=0')
    > x.focus
    > }
    > </SCRIPT>
    >
    > Then in my body tag I have "onload=OpenWindow"
    > <body MS_POSITIONING="GridLayout" onload="OpenWindw" leftmargin="0"
    > topmargin="0">
    >
    >
    >

    Scott M. Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139