Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Areas List issue

  Asked By: Stacey    Date: Oct 07    Category: Sharepoint    Views: 633

I am trying to get All the Event items located under Say Areas A à Sub Areas 1 à Sub Areas 2

Area B à Sub Areas 1 à Sub Areas 2 Like wise.

The issue is I am not able to get into the sub areas of Areas A or Areas B. Either it shows me all the areas on the portal or nothing.

SPSite site = new SPSite ("<Server Name>/Sub Sub Sub Area/");

SPWeb web = site.AllWebs["AreasName"];

foreach(SPWeb zenWeb in web.Webs)


Response.Write (zenWeb.Name.ToString()+ "<br>");


Can some more put bit light on this….



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Areas List issue Or get search suggestion and latest updates.