public BsDialog(IHtmlHelper helper = null) : base(helper) { ButtonAttributes = new Dictionary <string, object>(); RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(BsDialog_min_css, BsDialog_css_cdn)); RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(BsDialog_min_js, BsDialog_js_cdn)); Method(BsMethod.Show); }
public SweetAlertBs(IHtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(sweetalert_bs_css, sweetalert_bs_css_cdn)); RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(sweetalert_bs_min_js, sweetalert_bs_js_cdn)); ConfirmButtonClass("btn btn-primary"); }
protected void SetScriptTag() { var script = @"<script> $(function(){ " + Script + @" }); </script>"; RenderScriptAndStyle.ScriptOnce(guid, script, true); }
public Toastr(IHtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(toastr_css, toastr_css_cdn)); RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(toastr_js, toastr_js_cdn)); }
public Noty(IHtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(noty_packaged_min_js, noty_packaged_js_cdn)); ButtonAttributes = new Dictionary <string, object>(); }
public BootBox(IHtmlHelper helper = null) : base(helper) { RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(bootbox_js, bootbox_js_cdn)); ButtonAttributes = new Dictionary <string, object>(); }
public SweetAlert(IHtmlHelper helper = null) : base(helper) { //RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(sweetalert_css, null)); RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(sweetalert_js, sweetalert_js_cdn)); }