div+css+theme

來源:互聯網
上載者:User
   在網站根目錄添加App_themes檔案 在裡面可以添加多套模板檔案夾 
    例如:建立一檔案夾名為simple把定義好的div+css放到simple內,包括css和圖片等,如果以後有.net控制項可以再加個*.skin檔案.專門做定義用,接著就可以套用模板拉†^a^»
    調用方法要寫在Page_PreInit裡面,以後的事情就交給兄弟們自己創作拉!!!
     protected void Page_PreInit()
    {
        LoadTitle();
    }
    private void LoadTitle()
    {
        Page.Theme = "simple";
    }
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.