Beispiel #1
0
        public string GetSelectedTitlePaths()
        {
            string clientSelectedIds = HttpContext.Current.Request.Form["clientSelectedIds"];
            string titles            = "";

            if (!String.IsNullOrWhiteSpace(clientSelectedIds))
            {
                Guid[] selIds = Array.ConvertAll <string, Guid>(clientSelectedIds.Split(','), Guid.Parse);
                if (selIds != null)
                {
                    List <string> titlePaths = new List <string>();
                    foreach (Guid id in selIds)
                    {
                        titlePaths.Add(Classifiers.GetClassifierId_TitlePath(id, this.Language.Id, true));
                    }
                    titles = String.Join("|", titlePaths);
                }
            }

            return(titles);
        }