Beispiel #1
0
        private void BindToolbar()
        {
            if (this.MainToolbar.McToolbarItems.Count > 0)
            {
                this.MainToolbar.McToolbarItems.Clear();
            }
            Toolbar toolbar = XmlModelHelper.GetToolbar(this.ViewName, this.PlaceName, this.ClassName);

            if (toolbar == null || toolbar.Items == null)
            {
                return;
            }
            this.BindFromObject(toolbar.Items, this.MainToolbar.McToolbarItems);
        }