protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { string localPath = RoleEnvironment.GetLocalResource("Sites").RootPath.TrimEnd('\\'); var manager = new SitesManager(localPath); this.grdSites.DataSource = manager.GetSitesInformation(); this.grdSites.DataBind(); } }