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. Call Java Script from Data Grid

Call Java Script from Data Grid

Scheduled Pinned Locked Moved ASP.NET
javajavascriptcsstoolsquestion
5 Posts 4 Posters 48 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.
  • R Offline
    R Offline
    RJS
    wrote on last edited by
    #1

    I tried to view a pop-up window message when a user wants to delete a record from a data grid. This is my code for the aspx page: What I want to do is, if somebody hit "Delete", there should be a small pop up window giving a confirmation before does any record deletion. Here is my code from my class: protected void DoItemDelete(object sender, DataGridCommandEventArgs oArgs) { /// we should call a confirmation window here by using JavaScript? /// How do we call a Javascript Y2MTimeSheet.Setup.UserRegistrationClass objUser = new Y2MTimeSheet.Setup.UserRegistrationClass(); Int32 iUser_ID = Convert.ToInt32(((Label)oArgs.Item.FindControl

    L R 2 Replies Last reply
    0
    • R RJS

      I tried to view a pop-up window message when a user wants to delete a record from a data grid. This is my code for the aspx page: What I want to do is, if somebody hit "Delete", there should be a small pop up window giving a confirmation before does any record deletion. Here is my code from my class: protected void DoItemDelete(object sender, DataGridCommandEventArgs oArgs) { /// we should call a confirmation window here by using JavaScript? /// How do we call a Javascript Y2MTimeSheet.Setup.UserRegistrationClass objUser = new Y2MTimeSheet.Setup.UserRegistrationClass(); Int32 iUser_ID = Convert.ToInt32(((Label)oArgs.Item.FindControl

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      You gonna have to turn off the HTML option if you want us to answer you :) "There are no stupid question's, just stupid people."

      R 1 Reply Last reply
      0
      • L leppie

        You gonna have to turn off the HTML option if you want us to answer you :) "There are no stupid question's, just stupid people."

        R Offline
        R Offline
        RJS
        wrote on last edited by
        #3

        Thanks for reply. I have turn off the HTML option. Please check the question. Thanks.

        1 Reply Last reply
        0
        • R RJS

          I tried to view a pop-up window message when a user wants to delete a record from a data grid. This is my code for the aspx page: What I want to do is, if somebody hit "Delete", there should be a small pop up window giving a confirmation before does any record deletion. Here is my code from my class: protected void DoItemDelete(object sender, DataGridCommandEventArgs oArgs) { /// we should call a confirmation window here by using JavaScript? /// How do we call a Javascript Y2MTimeSheet.Setup.UserRegistrationClass objUser = new Y2MTimeSheet.Setup.UserRegistrationClass(); Int32 iUser_ID = Convert.ToInt32(((Label)oArgs.Item.FindControl

          R Offline
          R Offline
          Ray Cassick
          wrote on last edited by
          #4

          Check out this site... Clickety[^]

          A 1 Reply Last reply
          0
          • R Ray Cassick

            Check out this site... Clickety[^]

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            Thank You!!!!:)

            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