Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how can i run ~~~.aspx page without popup in c#?

how can i run ~~~.aspx page without popup in c#?

Scheduled Pinned Locked Moved C#
questioncsharpjavascripttools
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    buffering83
    wrote on last edited by
    #1

    I want to run some url and don't want to popup.

    Below code is calling default2.aspx but do not execute javascript which is in the default2.aspx.

    url = "http://localhost:56286/PIS\_INTERFACE/default2.aspx";
    URLReq = (HttpWebRequest)WebRequest.Create(url);
    URLRes = (HttpWebResponse)URLReq.GetResponse();

    Below code is default2.aspx.

    <script type="text/javascript">

    alert("default2.aspx");
    </script>
    </body>

    hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

    N 1 Reply Last reply
    0
    • B buffering83

      I want to run some url and don't want to popup.

      Below code is calling default2.aspx but do not execute javascript which is in the default2.aspx.

      url = "http://localhost:56286/PIS\_INTERFACE/default2.aspx";
      URLReq = (HttpWebRequest)WebRequest.Create(url);
      URLRes = (HttpWebResponse)URLReq.GetResponse();

      Below code is default2.aspx.

      <script type="text/javascript">

      alert("default2.aspx");
      </script>
      </body>

      hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

      N Offline
      N Offline
      Nitin S
      wrote on last edited by
      #2

      What exactly you are trying to achieve

      ============================================ The grass is always greener on the other side of the fence

      S B 2 Replies Last reply
      0
      • N Nitin S

        What exactly you are trying to achieve

        ============================================ The grass is always greener on the other side of the fence

        S Offline
        S Offline
        Sentenryu
        wrote on last edited by
        #3

        i think he's trying to execute the javascript on the page, but the alert() on the page don't show up, so he's confused i think the method he's using only download the html, don't parse or execute any javascript on it, but i don't know how to help him... :(

        I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)

        1 Reply Last reply
        0
        • N Nitin S

          What exactly you are trying to achieve

          ============================================ The grass is always greener on the other side of the fence

          B Offline
          B Offline
          buffering83
          wrote on last edited by
          #4

          I want to run some page and don't want to popup. Just run page, because i want user to don't know.

          hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups