SFControlThen() 공개 메소드

public SFControlThen ( string functionCall ) : string
functionCall string
리턴 string
예제 #1
0
        public static MvcHtmlString Remove(HtmlHelper helper, EntityBase entityBase, bool btn)
        {
            if (!entityBase.Remove)
            {
                return(MvcHtmlString.Empty);
            }

            return(new HtmlTag("a", entityBase.Compose("btnRemove"))
                   .Class(btn ? "btn btn-default" : null)
                   .Class("sf-line-button sf-remove")
                   .Attr("onclick", entityBase.SFControlThen("remove_click(event)"))
                   .Attr("title", EntityControlMessage.Remove.NiceToString())
                   .InnerHtml(new HtmlTag("span").Class("glyphicon glyphicon-remove")));
        }
예제 #2
0
        public static MvcHtmlString Remove(HtmlHelper helper, EntityBase entityBase, bool btn)
        {
            if (!entityBase.Remove)
                return MvcHtmlString.Empty;

            return new HtmlTag("a", entityBase.Compose("btnRemove"))
                .Class(btn ? "btn btn-default" : null)
                .Class("sf-line-button sf-remove")
                .Attr("onclick", entityBase.SFControlThen("remove_click()"))
                .Attr("title", EntityControlMessage.Remove.NiceToString())
                .InnerHtml(new HtmlTag("span").Class("glyphicon glyphicon-remove"));
        }
예제 #3
0
        public static MvcHtmlString View(HtmlHelper helper, EntityBase entityBase, bool btn)
        {
            if (!entityBase.View)
                return MvcHtmlString.Empty;

            return new HtmlTag("a", entityBase.Compose("btnView"))
                .Class(btn ? "btn btn-default" : null)
                .Class("sf-line-button sf-view")
                .Attr("onclick", entityBase.SFControlThen("view_click()"))
                .Attr("title", EntityControlMessage.View.NiceToString())
                .InnerHtml(new HtmlTag("span").Class("glyphicon glyphicon-arrow-right"));
        }