Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
Record identification in Gridview checkbox onclick event

I have a checkboxs column in asp:gridview. How can i identify which record i clicked on in a JS onclick event of the checkbox? (how can i know which row i clicked on?).

the grid and the checkbox column:

<asp:GridView ID="gvBakashot" Style="margin-top: 0%; table-layout: fixed; margin-right: 3%;" runat="server" HeaderStyle-BorderStyle="none" CssClass="GridClass box_border"
Width="94%" AutoGenerateColumns="false" CellPadding="2" RowStyle-CssClass="row1" EnableEventValidation="true" ClientIDMode="Static" Visible="true">
<Columns>
<asp:TemplateField HeaderText=" " ItemStyle-BorderWidth="1" HeaderStyle-Width="3%" ItemStyle-Width="3%" HeaderStyle-CssClass="box_border table_title" ItemStyle-CssClass="box_border ">
<ItemTemplate>               
<input type="checkbox" id="chkHaktzaa" onclick="chkHaktzaa_click()" />
</ItemTemplate>
</asp:TemplateField>

Thank you for the help.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!