コード例 #1
0
 public ActionResult BootBox(string _)
 {
     if (Request.IsAjaxRequest())
     {
         return(MessageBox.BootBox("A message from Server with Ajax request", BootBoxType.Alert));
     }
     else
     {
         MessageBox.BootBox("A message from Server", BootBoxType.Alert);
         return(View());
     }
 }