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
databasehelpquestion
3 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.
  • C Offline
    C Offline
    chuxs
    wrote on last edited by
    #1

    Hi, I created a datagrid (see code below) to display records from my backend database and also add a radio button using the template column tag. Here’s my problem, how do I programmatically know which radio button was click and pass the primary key value to another call method for further processing, on click of a button which is outside the datagrid control

    A 1 Reply Last reply
    0
    • C chuxs

      Hi, I created a datagrid (see code below) to display records from my backend database and also add a radio button using the template column tag. Here’s my problem, how do I programmatically know which radio button was click and pass the primary key value to another call method for further processing, on click of a button which is outside the datagrid control

      A Offline
      A Offline
      Alexandru Savescu
      wrote on last edited by
      #2

      You cannot do this directly. Use the rowselector control: http://www.datagridgirl.com/customcolumns.aspx[^] Regards, Alexandru Savescu

      C 1 Reply Last reply
      0
      • A Alexandru Savescu

        You cannot do this directly. Use the rowselector control: http://www.datagridgirl.com/customcolumns.aspx[^] Regards, Alexandru Savescu

        C Offline
        C Offline
        chuxs
        wrote on last edited by
        #3

        thanx for the link, but am having issues making reference to the control after downloading e.g <%@ Register TagPrefix="mbrsc" Namespace="MetaBuilders.WebControls" Assembly="MetaBuilders.WebControls.RowSelectorColumn" %> i also try add the control thru the add/remove item but display an error

        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