Hey Andrey,
This solution is just excellent, very clean , much better then the proposed solution from David Findley
I added some commenting and swapped the hard coded "Action" for a default, check it out:
http://pastebin.com/PhnKDekw
I will be using this whenever i use multiple buttons, in other situations i usually just use jQuery Postback.