Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
        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");
        }
Ejemplo n.º 3
0
        protected void SetScriptTag()
        {
            var script = @"<script>
                        $(function(){
                            " + Script + @"
                        });
                    </script>";

            RenderScriptAndStyle.ScriptOnce(guid, script, true);
        }
Ejemplo n.º 4
0
 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));
 }
Ejemplo n.º 5
0
 public Noty(IHtmlHelper helper = null) : base(helper)
 {
     RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(noty_packaged_min_js, noty_packaged_js_cdn));
     ButtonAttributes = new Dictionary <string, object>();
 }
Ejemplo n.º 6
0
 public BootBox(IHtmlHelper helper = null) : base(helper)
 {
     RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(bootbox_js, bootbox_js_cdn));
     ButtonAttributes = new Dictionary <string, object>();
 }
Ejemplo n.º 7
0
 public SweetAlert(IHtmlHelper helper = null) : base(helper)
 {
     //RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(sweetalert_css, null));
     RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(sweetalert_js, sweetalert_js_cdn));
 }