I am trying to create a dynamic tabs on the fly based on values from grouped by field in document library.
Is there a way to get and enlist these values into ex. array.
Thanx
SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite oSiteCollection = new SPSite(ptw.GetSiteURL)) { using (SPWeb oWebsite = oSiteCollection.OpenWeb()) { try { SPList list = oWebsite.Lists[ptw.getLibrary]; SPView oView = list.Views[ptw.getViewName]; //XmlDocument groupDoc = new XmlDocument(); //groupDoc.LoadXml(string.Format("<Query>{0}</Query>", oView.Query)); //XmlElement groupBy = (XmlElement)groupDoc.SelectSingleNode("//GroupBy"); //string h = groupDoc.FirstChild.InnerXml;