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