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 can I pop up a window in VB.net?

How can I pop up a window in VB.net?

Scheduled Pinned Locked Moved ASP.NET
csharpquestionjavascriptdatabase
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.
  • W Offline
    W Offline
    walalawll
    wrote on last edited by
    #1

    I am using visual studio 2005. I have created a web sites. I need to pop up a window with some gridview and text box when a user press a button. But the window only need to pop up when there is another user changing the information in the database. Thus, I need to check the database first, then to pop up if it is needed. However, I dont know how to write the script to pop up a window. I am a javascript idiot.... Many Many thanks for helping

    _ T W 3 Replies Last reply
    0
    • W walalawll

      I am using visual studio 2005. I have created a web sites. I need to pop up a window with some gridview and text box when a user press a button. But the window only need to pop up when there is another user changing the information in the database. Thus, I need to check the database first, then to pop up if it is needed. However, I dont know how to write the script to pop up a window. I am a javascript idiot.... Many Many thanks for helping

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      You can use window.open method for that purpose in javascript. And Here [^] is details of that method. :)

      Best Regards, Apurva Kaushal

      1 Reply Last reply
      0
      • W walalawll

        I am using visual studio 2005. I have created a web sites. I need to pop up a window with some gridview and text box when a user press a button. But the window only need to pop up when there is another user changing the information in the database. Thus, I need to check the database first, then to pop up if it is needed. However, I dont know how to write the script to pop up a window. I am a javascript idiot.... Many Many thanks for helping

        T Offline
        T Offline
        tarunbounthiyal
        wrote on last edited by
        #3

        use Response.write and write the javascript code as string. C# code Response.write ("alert('No data to display')");

        1 Reply Last reply
        0
        • W walalawll

          I am using visual studio 2005. I have created a web sites. I need to pop up a window with some gridview and text box when a user press a button. But the window only need to pop up when there is another user changing the information in the database. Thus, I need to check the database first, then to pop up if it is needed. However, I dont know how to write the script to pop up a window. I am a javascript idiot.... Many Many thanks for helping

          W Offline
          W Offline
          walalawll
          wrote on last edited by
          #4

          So many thanks for tarunbounthiyal and Apurva Kaushal's kindly help. I successfully create the pop up window la.

          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