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. Datagrid

Datagrid

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

    I am using a datagrid to show a set of records. I am also using edit,update,cancel and delete button columns to perfom required action. I wanted to is it possible for me to call a javascript function on clicking update button in datagrid. Thanks & Regards Bhanu

    R S 2 Replies Last reply
    0
    • B bhanu12345

      I am using a datagrid to show a set of records. I am also using edit,update,cancel and delete button columns to perfom required action. I wanted to is it possible for me to call a javascript function on clicking update button in datagrid. Thanks & Regards Bhanu

      R Offline
      R Offline
      RepliCrux
      wrote on last edited by
      #2

      You will have to use Ajax if you want to use Javascript for this functionality of Datagrid. Writing client side code for these kind of functinality is not always the best practice.

      1 Reply Last reply
      0
      • B bhanu12345

        I am using a datagrid to show a set of records. I am also using edit,update,cancel and delete button columns to perfom required action. I wanted to is it possible for me to call a javascript function on clicking update button in datagrid. Thanks & Regards Bhanu

        S Offline
        S Offline
        Sathesh Sakthivel
        wrote on last edited by
        #3

        bhanu12345 wrote:

        I wanted to is it possible for me to call a javascript function on clicking update button in datagrid.

        It is not a good practice. Go with Ajax. that will be better for this.

        Regards, Satips.:rose:

        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