It's a mvc 3 project so I can't do that.
After several try-and-error test we found out that the editor does a POST after we click the button. The method in the controller which invoke the editor also has a POST version (["HttpPost"]). Thats where it goes wrong.
I need to find a way to solve this problem.