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 call on asp.net

javascript call on asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netdatabasehelp
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.
  • U Offline
    U Offline
    UD IA
    wrote on last edited by
    #1

    hi i am using asp.net and on linkbutton click i call a javascript to open abc.aspx page in new window and in this form i add data from mydatabase and then i say response.redirect after adding record in database but page is open in new page. while i want to show only one message after add data in database datasuccessfully added and after that window will closed? please solve my problem :-D

    I will do my best? Integrated Solutions, Bikaner (Raj.), India

    N V 2 Replies Last reply
    0
    • U UD IA

      hi i am using asp.net and on linkbutton click i call a javascript to open abc.aspx page in new window and in this form i add data from mydatabase and then i say response.redirect after adding record in database but page is open in new page. while i want to show only one message after add data in database datasuccessfully added and after that window will closed? please solve my problem :-D

      I will do my best? Integrated Solutions, Bikaner (Raj.), India

      N Offline
      N Offline
      ncsubbu
      wrote on last edited by
      #2

      Page.RegisterStartupScript("myrest", "alert('Hello');"); use this after record insertion.

      your's subbu

      1 Reply Last reply
      0
      • U UD IA

        hi i am using asp.net and on linkbutton click i call a javascript to open abc.aspx page in new window and in this form i add data from mydatabase and then i say response.redirect after adding record in database but page is open in new page. while i want to show only one message after add data in database datasuccessfully added and after that window will closed? please solve my problem :-D

        I will do my best? Integrated Solutions, Bikaner (Raj.), India

        V Offline
        V Offline
        vimal_yet
        wrote on last edited by
        #3

        include the below code in ur head tag

        If U Get Errors U Will Learn If U Don't Get Errors U Have Learnt

        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