Esempio n. 1
0
 private static string FormatActionboxHtml(string action, string jsEvent, string title, string icon, bool cssclass)
 {
     if (!System.Web.HttpContext.Current.Request.IsAuthenticated)
     {
         jsEvent = string.Empty;
     }
     return(ConstConfig.ActionEventHtmlTemplate.Format(new
     {
         action = action,
         JsEvent = jsEvent,
         title = title,
         href = CommonHelper.AjaxActionLink(),
         icon = icon,
         cssclass = cssclass ? "selected" : ""
     }));
 }