Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         SubNavigationHTML = new CategoryHelper().InitSubCategoryNavigationWrapper(C1SysNo);
     }
 }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     string categoryMiddleContent = new CategoryHelper().InitCategoryNavigation();
     if (IsHomePage)
     {
         CategoryNavHTML = String.Format("<div id='Menu'>{0}</div>", categoryMiddleContent);
     }
     else
     {
         CategoryNavHTML = String.Format("<div id='ItemSort'> <span>全部商品分类<b>+</b></span> </div><div id='Menu' class='classMenu'>{0}</div>", categoryMiddleContent);
     }
 }