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. Web Development
  3. ASP.NET
  4. how do I create a pop up window in ASPX.CS?

how do I create a pop up window in ASPX.CS?

Scheduled Pinned Locked Moved ASP.NET
questionhelptestingdebuggingbeta-testing
3 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.
  • X Offline
    X Offline
    Xarzu
    wrote on last edited by
    #1

    how do I create a pop up window in ASPX.CS? For situations out of my control. The pop up window, is the fastest way I can debug the app I have online. I tried this: Help.ShowPopup(this, "Testing ...", new Point(100, 100)); and it threw an error. I believe it was a "500 Error". What am I doing wrong? Since I am unable to comple and step through the code, it is difficult to find out and it ie especially complicatated because the vehicle i intent do tuse to debug is what is crashnig.

    U C 2 Replies Last reply
    0
    • X Xarzu

      how do I create a pop up window in ASPX.CS? For situations out of my control. The pop up window, is the fastest way I can debug the app I have online. I tried this: Help.ShowPopup(this, "Testing ...", new Point(100, 100)); and it threw an error. I believe it was a "500 Error". What am I doing wrong? Since I am unable to comple and step through the code, it is difficult to find out and it ie especially complicatated because the vehicle i intent do tuse to debug is what is crashnig.

      U Offline
      U Offline
      User 9418896
      wrote on last edited by
      #2

      When you say popup i assume you mean a message box or an alert, well there is actually no way you can do that from the server(Unless you call the script from the server) side, the only way is for you to use javascript. I would advise you use jquery than the regular javascript alert. And also the popup won't work if javascript is disabled in the browser so if it's just messages you want to display i would advise you use labels.

      1 Reply Last reply
      0
      • X Xarzu

        how do I create a pop up window in ASPX.CS? For situations out of my control. The pop up window, is the fastest way I can debug the app I have online. I tried this: Help.ShowPopup(this, "Testing ...", new Point(100, 100)); and it threw an error. I believe it was a "500 Error". What am I doing wrong? Since I am unable to comple and step through the code, it is difficult to find out and it ie especially complicatated because the vehicle i intent do tuse to debug is what is crashnig.

        C Offline
        C Offline
        cpjack
        wrote on last edited by
        #3

        you cannot create a popup window directly in the aspx.cs file, unless you use the "ClientScript" register the "javascript" code.

        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