以下との独自の確認ダイアログを実装することは可能ですか?
Ajax.BeginForm(new AjaxOptions { Confirm ="" })
ありがとう :)
以下との独自の確認ダイアログを実装することは可能ですか?
Ajax.BeginForm(new AjaxOptions { Confirm ="" })
ありがとう :)
In case you did not find the answer, check the (OnBegin) function implemented in the following question: Ajax.BeginForm Confirmation Dialog onBeginForm() before triggering OnSuccessForm()
Ajax BeginForm sends data to Controller. You need to use Ajax ActionLink İn order to show some confirm message try below :
@Ajax.ActionLink(
"Revoke Access to all Galleries Immediately",
"ViewInvites",
"Gallery",
new AjaxOptions {
Confirm = "Are you sure you want to revoke access to all galleries? This cannot be undone.",
HttpMethod = "Post"
}
)