Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
985
How to determine what button is clicked
posted

I have a whdg that is one band deep (a rootband with one childband). In this childband I inserted a column with linkbuttons. When the user clicks the button I want to redirect him to a page to edit the record that contains the linkbutton.

I know how to capture the click event of the linkbutton, but I don't know how to determine which row the button belonged to when it was clicked. What is the best way to figure this out?

Parents
No Data
Reply
  • 5739
    posted

    Hi,

    It depends on what type of info you have in the rows.  You can get the row.index but that might not be too useful because it will be an index based on that child band.  If you have some sort of datakey in the row then sending that key through the commandargument would be your best bet.

    Ed

Children