コード例 #1
0
        static RoboSettings()
        {
            var siteSettings = EngineContext.Current.Resolve <KoreSiteSettings>();

            AreaLayoutPaths = new Dictionary <string, string>();

            DefaultLayoutPath = string.IsNullOrEmpty(siteSettings.DefaultFrontendLayoutPath)
                ? "~/Views/Shared/_Layout.cshtml"
                : siteSettings.DefaultFrontendLayoutPath;

            DefaultFormProvider = new Bootstrap3RoboUIFormProvider();
            DefaultGridProvider = new JQGridRoboUIGridProvider();
        }
コード例 #2
0
 static RoboUI()
 {
     DefaultRoboUIFormProvider = new Bootstrap3RoboUIFormProvider();
     DefaultRoboUIGridProvider = new KendoRoboUIGridProvider();
 }