ASPxClientReportDesigner.GetTabs() Method
Returns all available Report Designer tabs.
Namespace: DevExpress.XtraReports.Web.Scripts
Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll
Declaration
Returns
Type | Description |
---|---|
ASPxDesignerNavigateTab[] | An array of ASPxDesignerNavigateTab objects that specify Report Designer tabs. |
Remarks
The GetTabs method allows you to obtain all tabs that are opened in the Web Report Designer.
The following code snippet demonstrates how to use this method to get all tabs and close the second tab.
<script type="text/javascript">
function CloseSecondTab() {
var tabs = reportDesigner.GetTabs();
reportDesigner.CloseTab(tabs[1]);
}
</script>
<div onclick="CloseSecondTab()">Close the Second Tab</div>
<dx:ASPxReportDesigner ID="ASPxReportDesigner1" ClientInstanceName="reportDesigner" runat="server"/>
See Also