[CLOSED] hiding a Tab on closing

  1. #1

    [CLOSED] hiding a Tab on closing

    Hi,

    Is there a way i can hide a tab when the close event is fired?if yes How can do it?
  2. #2

    RE: [CLOSED] hiding a Tab on closing

    Hi Prashob,

    At the moment "hide" functionality for the Tab is not supported, although we are hoping to include with the v0.7 release. We actually just happen to be working on the feature today and with some luck will commit the code to SVN before the end of the day.


    Geoffrey McGill
    Founder & CEO
  3. #3

    RE: [CLOSED] hiding a Tab on closing



    Prashob,

    I get around the hide/show by hiding the tabs the first page load like so:

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            this.CenterTabPanel.HideTabStripItem("IndTab");
        }
    
    }
    then in the event handler that shows the tabs I do this:

    protected void FI_Button_Click(object sender, AjaxEventArgs e)
    {
        IndTab.Show();
        this.CenterTabPanel.UnhideTabStripItem("IndTab");
        this.CenterTabPanel.SetActiveTab("IndTab");
    }
    I haven't hidden the on close but there is a BeforeClose AjaxEvent.
  4. #4

    RE: [CLOSED] hiding a Tab on closing

    @jason - clever.

    Geoffrey McGill
    Founder & CEO
  5. #5

    RE: [CLOSED] hiding a Tab on closing

    @Jason, Thanks :)

Similar Threads

  1. [CLOSED] combobox is not closing
    By albayrak in forum 1.x Premium Help
    Replies: 12
    Last Post: Jan 26, 2011, 12:34 PM
  2. [CLOSED] [1.0] Closing windows?
    By edigital in forum 1.x Premium Help
    Replies: 1
    Last Post: Oct 05, 2010, 4:28 PM
  3. [CLOSED] Closing a window
    By Etisbew in forum 1.x Premium Help
    Replies: 1
    Last Post: Jul 30, 2009, 11:16 AM
  4. Reopen tab after closing
    By methode in forum 1.x Premium Help
    Replies: 5
    Last Post: Dec 01, 2008, 2:35 PM
  5. [CLOSED] Closing a Portlet
    By rvanderpol in forum 1.x Help
    Replies: 5
    Last Post: Oct 10, 2008, 10:22 AM

Posting Permissions