public static ActionResult AjaxErrorBoxMsg(this Controller controller, string msg) { var script = string.Format("self.parent.showAlertMsg('{0}');", msg); return(controller.Ajax_ClientScript(script)); }
public static ActionResult AjaxExportNullResponse(this Controller controller) { var script = string.Format("self.parent.showAlertMsg('{0}');", Msg.ExportDataNull); return(controller.Ajax_ClientScript(script)); }