It seems that sometimes (but not always) my button click event is being fired twice. The fact that it seems to happen sometimes but not always is really puzzling me. Here is m
I think I just figured a solution for it. Remove name="btnSave" or change it to "btnSave1". It will work.
name="btnSave"
"btnSave1"