Наследование: Ext.Net.AbstractContainer, IPostBackDataHandler
Пример #1
0
        public virtual void SetActiveGroup(string id)
        {
            GroupTab activeGroup = null;

            for (int i = 0; i < this.Groups.Count; i++)
            {
                if (this.Groups[i].ID == id)
                {
                    activeGroup = this.Groups[i];
                    break;
                }
            }

            if (activeGroup == null)
            {
                throw new InvalidOperationException("The '{0}' item does not exist with the '{1}' TabPanel.".FormatWith(id, this.ID));
            }

            this.SetActiveGroup(activeGroup);
        }
Пример #2
0
        public virtual void SetActiveGroup(string id)
        {
            GroupTab activeGroup = null;
            for (int i = 0; i < this.Groups.Count; i++)
            {
                if (this.Groups[i].ID == id)
                {
                    activeGroup = this.Groups[i];
                    break;
                }
            }

            if (activeGroup == null)
            {
                throw new InvalidOperationException("The '{0}' item does not exist with the '{1}' TabPanel.".FormatWith(id, this.ID));
            }

            this.SetActiveGroup(activeGroup);
        }
Пример #3
0
 public virtual void SetActiveGroup(GroupTab group)
 {
     this.Call("setActiveGroup", group.ClientID);
 }
Пример #4
0
 public virtual void SetActiveGroup(GroupTab group)
 {
     this.Call("setActiveGroup", group.ClientID);
 }