opening a new window

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default opening a new window

    hi,,, in my *.cs file, when the submit button is clicked
    i want to have a page open in a new window open.
    can someone tell me the code in C# please, no javascript
    thanks

    khawar Guest

  2. Similar Questions and Discussions

    1. Opening in same window
      okay this is simple but my brains fail me.. my header comprises of a flash movie and it has the menu buttons so I've given getURL command to the...
    2. opening new swf window
      hi all i'm very new to dreamweaver.i made the index page,i've a hotspot area,if i click on it it should open a new browser window,which should...
    3. opening new window
      What is the easiest way to dynamically create and show a new web (.aspx) form? What about creating, adding, and accessing web controls on the form?
    4. Opening pop up window
      Hi, I would like to create a pop up window from a Page_load event but I am not sure how to do it. My code will be like: If exists then popup...
    5. opening new window with hyperlinks
      Go to www.davidbartosik.com , then the version you are using, and then the article "new browser window". -- David Bartosik - Microsoft MVP...
  3. #2

    Default Re: opening a new window

    sorry, can only be done in javascript. C# can render the javascript though.


    -- bruce (sqlwork.com)



    "khawar" <khawar@socialcircles.com> wrote in message
    news:061801c3561c$6a1b1a60$a301280a@phx.gbl...
    > hi,,, in my *.cs file, when the submit button is clicked
    > i want to have a page open in a new window open.
    > can someone tell me the code in C# please, no javascript
    > thanks
    >

    bruce barker Guest

  4. #3

    Default Re: opening a new window

    sounds like it's a web app. To open a new window you need client-side script
    JS or VB.
    window.open(URL, name [, features])

    "khawar" <khawar@socialcircles.com> wrote in message
    news:061801c3561c$6a1b1a60$a301280a@phx.gbl...
    > hi,,, in my *.cs file, when the submit button is clicked
    > i want to have a page open in a new window open.
    > can someone tell me the code in C# please, no javascript
    > thanks
    >

    Lenny Guest

  5. #4

    Default Re: opening a new window

    You can download free components from
    [url]http://longreat.com/download/free/LonGreat.Web.UI.WebControls.PowerPack.zip[/url]
    ,maybe you can try it on your site.

    "khawar" <khawar@socialcircles.com>
    ???????:061801c3561c$6a1b1a60$a301280a@phx.gbl...
    > hi,,, in my *.cs file, when the submit button is clicked
    > i want to have a page open in a new window open.
    > can someone tell me the code in C# please, no javascript
    > thanks
    >

    LonGreat 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