Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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
                    }
                }
            }
        }
Esempio n. 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
                    }
                }
            }
        }