Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
        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
                    }
                }
            }
        }
Exemple #4
0
        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
                    }
                }
            }
        }