Summary description for RelationshipType.
This class should remain public, it is used by the Publish TreeView module
コード例 #1
0
        protected string BuildCategoryListUrl(ItemType type)
        {
            int parentCategoryId = -1;

            if (!this.VersionInfoObject.IsNew)
            {
                parentCategoryId = this.VersionInfoObject.ItemTypeId == ItemType.Category.GetId()
                                       ? this.VersionInfoObject.ItemId
                                       : Category.GetParentCategory(this.VersionInfoObject.ItemId, this.PortalId);
            }

            return Globals.NavigateURL(
                this.TabId,
                string.Empty,
                "ctl=" + Utility.AdminContainer,
                "mid=" + this.ModuleId.ToString(CultureInfo.InvariantCulture),
                "adminType=" + type.Name + "list",
                "categoryId=" + parentCategoryId.ToString(CultureInfo.InvariantCulture));
        }