Exemplo n.º 1
0
        public static HtmlTag DisabledSmartGridFor <TGrid>(this IFubuPage page, int?initialRows) where TGrid : ISmartGrid
        {
            var tag  = page.SmartGridFor <TGrid>(initialRows, h => { });
            var grid = tag.FirstChild();

            if (grid != null)
            {
                grid.MetaData("disabled", true);
            }
            return(tag);
        }
Exemplo n.º 2
0
 public static HtmlTag SmartGridFor <TGrid>(this IFubuPage page, int?initialRows, params object[] arguments)
     where TGrid : ISmartGrid
 {
     return(page.SmartGridFor <TGrid>(initialRows, h => h.RegisterArguments(arguments)));
 }
Exemplo n.º 3
0
 public static HtmlTag SmartGridFor <T>(this IFubuPage page, int?initialRows) where T : ISmartGrid
 {
     return(page.SmartGridFor <T>(initialRows, h => { }));
 }