Hello
Mateusz,
If you are setting the
NavigateUrl property of the item, then both usual click as well as middle button click does not fire server side onitemclick event.
Instead you can use the OnClientItemClicked client side event and force a PostBack to invoke the server-side onitemclick event. Please have a look at the following code I tried.
ASPX:
JavaScript:
C#:
Thanks,
Princy.