Hi,
When you click on any of your 3 button, it will go to your button event handler first then MODIFY View. In each button event handler, you will have parameter WDEVENT, keep the reference of WDEVENT in your view attribute in a variable. If you read WDEVENT, you will be getting ID of your button which you clicked.
Thank you.
-Siddharth