What I wanted to accomplish was to be able to use either the edit button or to click on the table row (tr) to set the asp.net list view into edit mode.
Below is an example of how it may look when moving the mouse over the tr:

And when in edit mode:

Part of the html for this looks like:

As you can see I have set some css classes on both the tr and first td. My plan here was to use some jQuery to actually trigger that linkbutton´s click event.

I made an extension to jQuery that is triggered through this piece of code:

What I´m doing here is to trigger on the click event on the TR. Then I search though the DOM looking for the next TD with a class attribute of command. Then finding the first A-tag and trying to fire off the click event.
This didn´t work though, why??

The linkbutton in this example translates to:

<a id="…" href="javascript:WebForm_DoPostBack[...]">Edit</a>

So it has not OnClick method to trigger.Note: Found this example on stackoverflow