>> I need a button next to my Save button in a form that looks like a Cancel button but behaves like a save.
that's a somewhat bizarre request, but ok....
>> The reason for this is that when the user cancels, the validateall needs to be executed and also the data from the input fields must be posted to the server as well.
sounds more like a "save button without the disk write?"
>> I have created a save button but now I need to find out which one of the save buttons is being used and I don't want to check on the _buttontext_ parameter.
>> Also, the server side code cannot be used because the code first executes the validate part of the cycle.
Sure, the "server side code" of a "save" button happens on a separate thread, at the "same time" so that's not gonna help you.
but I can't help but feel you're describing the solution here, not the actual problem. What is the _actual_ problem you are trying to solve?