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. javascript alert

javascript alert

Scheduled Pinned Locked Moved ASP.NET
helpjavajavascriptdatabasetools
2 Posts 2 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.
  • D Offline
    D Offline
    Dushan123
    wrote on last edited by
    #1

    Hi My page is inside the a iframe. when i click button on my page the data in my page save to database and gives javascript alert message when saving is complete. I am using RegisterStartupScript method to show a java script alert. My problem is on ie javascript alert shows behind the browser. User need minimize ie to see the alert. please help me

    Dushan Perera

    S 1 Reply Last reply
    0
    • D Dushan123

      Hi My page is inside the a iframe. when i click button on my page the data in my page save to database and gives javascript alert message when saving is complete. I am using RegisterStartupScript method to show a java script alert. My problem is on ie javascript alert shows behind the browser. User need minimize ie to see the alert. please help me

      Dushan Perera

      S Offline
      S Offline
      Shah Rizal
      wrote on last edited by
      #2

      Maybe because of you used iframe,that's why your pop up alert at behind of the browser. At code behind after finish insert the data, create session and in successfully page,try to check session in page load and popup alert if session exist.Example: insertpage.aspx.vb

      'after insert statement,create session
      Session("success")="anything"

      successfulinsert.aspx.vb

      If Session("success") <> "" Then
      Response.Write("alert(""Successfully Insert the data"")")
      Session.Remove("success")
      End If

      Maybe my code got error because I simply write it without debug or test it 1st but that's the idea.

      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