Hi,
Is there a way i can hide a tab when the close event is fired?if yes How can do it?
Printable View
Hi,
Is there a way i can hide a tab when the close event is fired?if yes How can do it?
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.
Prashob,
I get around the hide/show by hiding the tabs the first page load like so:
then in the event handler that shows the tabs I do this:Code:protected void Page_Load(object sender, EventArgs e)
{
* if (!Page.IsPostBack)
* {
* this.CenterTabPanel.HideTabStripItem("IndTab");
* }
}
I haven't hidden the on close but there is a BeforeClose AjaxEvent.Code:protected void FI_Button_Click(object sender, AjaxEventArgs e)
{
* IndTab.Show();
* this.CenterTabPanel.UnhideTabStripItem("IndTab");
* this.CenterTabPanel.SetActiveTab("IndTab");
}
@jason - clever.
@Jason, Thanks :)