protected void popTree_TreeNodeSelected(object sender, PopupTreeView.TreeNodeSelectedArgs args)
 {
     lblParentName.Text = args.SelectedTexts[0];
     hfParentId.Value = args.SelectedValues[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));
        }
Exemple #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;
 }