public SweetAlertBs(HtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.StyleFileSingle(@"<link href=""" + ComponentUtility.GetWebResourceUrl(sweetalert_bs_css) + @""" rel=""stylesheet"" />"); RenderScriptAndStyle.ScriptFileSingle(@"<script src=""" + ComponentUtility.GetWebResourceUrl(sweetalert_bs_min_js) + @"""></script>"); ConfirmButtonClass("btn btn-primary"); }
public BsDialog(HtmlHelper helper = null) : base(helper) { ButtonAttributes = new Dictionary <string, object>(); RenderScriptAndStyle.StyleFileSingle(@"<link href=""" + ComponentUtility.GetWebResourceUrl(BsDialog_min_css) + @""" rel=""stylesheet"" />"); RenderScriptAndStyle.ScriptFileSingle(@"<script src=""" + ComponentUtility.GetWebResourceUrl(BsDialog_mi_js) + @"""></script>"); Method(BsMethod.Show); }
public SweetAlert(HtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.StyleFileSingle(@"<link href=""" + ComponentUtility.GetWebResourceUrl(sweetalert_css) + @""" rel=""stylesheet"" />"); RenderScriptAndStyle.ScriptFileSingle(@"<script src=""" + ComponentUtility.GetWebResourceUrl(sweetalert_js) + @"""></script>"); }
public BootBox(HtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.ScriptFileSingle(@"<script src=""" + ComponentUtility.GetWebResourceUrl(bootbox_js) + @"""></script>"); ButtonAttributes = new Dictionary <string, object>(); }