public override void LoadChildren() { base.LoadChildren(); SPLimitedWebPartCollectionNode webparts = new SPLimitedWebPartCollectionNode(this.Form.ParentList.ParentWeb, this.Form.Url); webparts.Setup(this.SPObject); this.Children.Add(webparts); }
public override void LoadChildren() { base.LoadChildren(); SPLimitedWebPartCollectionNode webparts = new SPLimitedWebPartCollectionNode(this.Form.ParentList.ParentWeb, this.Form.Url); webparts.Setup(this.SPObject); this.Children.Add(webparts); }
public override void LoadChildren() { base.LoadChildren(); if (File != null) { if (this.File.Url.EndsWith(".aspx", StringComparison.OrdinalIgnoreCase)) { try { SPLimitedWebPartCollectionNode webparts = new SPLimitedWebPartCollectionNode(this.File); webparts.Setup(this); this.Children.Add(webparts); } catch { // Do nothing } } } }
public override void LoadChildren() { base.LoadChildren(); if (File != null) { if (this.File.Url.EndsWith(".aspx", StringComparison.OrdinalIgnoreCase)) { try { SPLimitedWebPartCollectionNode webparts = new SPLimitedWebPartCollectionNode(this.File); webparts.Setup(this); this.Children.Add(webparts); } catch { // Do nothing } } } }