Inheritance: Ext.Net.AbstractContainer, IPostBackDataHandler
Example #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);
        }
Example #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);
        }
Example #3
0
 public virtual void SetActiveGroup(GroupTab group)
 {
     this.Call("setActiveGroup", group.ClientID);
 }
Example #4
0
 public virtual void SetActiveGroup(GroupTab group)
 {
     this.Call("setActiveGroup", group.ClientID);
 }