Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everybody

I have aspx gridview with checkbox on evryrow, what is required is whenever we check any of the rows, a query should be launched to change the specific agent -each row consist of agentID, Pass, Status- to Paid Status. using javascript

What I need to know is how to loop to get the Checked row and get the ID of the row checked so that I can get THe ID of the Agent in thos row so that I can update its status.using javascript

Thank you
Posted

1 solution

U have to make the check box to 'find control' check box using code behind file when check box function is triggered, so that you are able to know which row checkbox is accessed by user.............

see how to use 'find control' in C# ......

find control is a method used for controls like asp:label,textbox,button,link,etc used in a gridview...........
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900