QAdminBasePageModelShowConfirm(String, String, String, String, Boolean, Boolean) Method

在客户端浏览器弹出确认对话框,可指定标题。

Definition

Namespace: QuickAdmin.RCL
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public virtual IActionResult ShowConfirm(
	string title,
	string msg,
	string okScript,
	string cancelScript,
	bool targetTop = false,
	bool isMsgHtml = false
)

Parameters

title  string
对话框标题。
msg  string
消息内容。
okScript  string
用户点击确定按钮后执行的脚本。
cancelScript  string
用户点击取消按钮后执行的脚本。
targetTop  bool  (Optional)
指示对话框目标是否是最顶层页面。默认为当前页面。
isMsgHtml  bool  (Optional)
指示消息内容是否是 HTML。若此参数为 true,将不会对 msg 进行 HTML 编码。

Return Value

IActionResult
返回了 FineUICore.UIHelper.Result()

See Also