QAdminBasePageModelAlertMessage(String, String, Boolean, String, Boolean) Method
在客户端浏览器弹出消息对话框,可指定标题。
Namespace: QuickAdmin.RCLAssembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
public virtual IActionResult AlertMessage(
string title,
string msg,
bool targetTop = false,
string okScript = null,
bool isMsgHtml = false
)
- title string
- 对话框标题。
- msg string
- 消息内容。
- targetTop bool (Optional)
- 指示对话框目标是否是最顶层页面。默认为当前页面。
- okScript string (Optional)
- 用户点击确定按钮后执行的脚本。
- isMsgHtml bool (Optional)
- 指示消息内容是否是 HTML。若此参数为 true,将不会对 msg 进行 HTML 编码。
IActionResult返回了 FineUICore.UIHelper.Result()