何らかの理由で、__doPostBack を呼び出して jQuery イベント内から UpdatePanel を更新しようとすると、ページが単に更新されます。
次のコードが実行されると、さらに掘り下げます。
$('#modal-forgottenpassword .modal-close').live('click', function(e)
{
e.preventDefault();
$('#modal-forgottenpassword input[type=hidden]').val('0');
__doPostBack('ctl00$CPH_Body$buttonReset','');
});
Firebug(または同様のもの)を見ると、ページが更新される直前に次のようになります。
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0
それでも、Chrome または Firebug でコンソールを使用して実行する場合
__doPostBack('ctl00$CPH_Body$buttonReset','');
それは正常に動作します。
何か案は?