예제 #1
0
 protected void popTree_TreeNodeSelected(object sender, PopupTreeView.TreeNodeSelectedArgs args)
 {
     lblParentName.Text = args.SelectedTexts[0];
     hfParentId.Value = args.SelectedValues[0];
 }
예제 #2
0
        protected void popTree_Selected(object sender, PopupTreeView.TreeNodeSelectedArgs args)
        {
            if (_typeFlag == ProductOnMain.TypeFlag.None) return;

            foreach (var altId in args.SelectedValues)
            {
                ProductOnMain.AddProductByType(SQLDataHelper.GetInt(altId), _typeFlag);
            }
            popTree.UpdateTree(ProductOnMain.GetProductIdByType(_typeFlag));
        }
예제 #3
0
 protected void popTree_Selected(object sender, PopupTreeView.TreeNodeSelectedArgs args)
 {
     ViewState["SelectedCategories"] = args.SelectedValues.Select(val => int.Parse(val)).ToList();
     lCategories.Text = args.SelectedValues.Count() + " " + Resources.Resource.Admin_Coupon_Categories;
 }