On my custom screen, I have a “dummy” form that includes a tab with two tab items. Each tab item has it’s own form. Each form is essentially a screen with it’s own DACs.
I COULD create two separate screens, one for each tab item, but I want to include them on one screen.
For a single form I would add the primary DAC to the graph declaration to add the full toolbar to the form (cancel, save, new, Next Last etc.)
However, each tab is a unique form.

I want to show this in each tab item.

To reiterate, this graph does not have a true “primary” DAC. The main form just has a dummy primary DAC (PXFilter<MasterTable> MasterView;). I’ve hidden the standard buttons for the main form.
This is the aspx for this screen.
<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormTab.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="IC102000.aspx.cs" Inherits="Page_IC102000" Title="Untitled Page" %>
<%@ MasterType VirtualPath="~/MasterPages/FormTab.master" %>
<asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server">
<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%"
TypeName="AdvancedRefrigeration2023R1.ICSPricingCalculator"
PrimaryView="MasterView"
>
<CallbackCommands>
</CallbackCommands>
</px:PXDataSource>
</asp:Content>
<asp:Content ID="cont2" ContentPlaceHolderID="phF" Runat="Server">
<px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="MasterView" Width="100%" Height="100px" AllowAutoHide="false">
<Template>
<px:PXLayoutRule ID="PXLayoutRule1" runat="server" StartRow="True"/>
</Template>
</px:PXFormView>
</asp:Content>
<asp:Content ID="cont3" ContentPlaceHolderID="phG" Runat="Server">
<px:PXTab ID="tab" runat="server" Width="100%" Height="150px" DataSourceID="ds" AllowAutoHide="false">
<Items>
<px:PXTabItem Text="Price Class">
<Template>
<px:PXFormView DataMember="PricingClass" runat="server" ID="CstFormViewPriceClass" >
<Template>
<px:PXSelector Width="350" runat="server" ID="CstPXSelector6" DataField="PriceClassID" ></px:PXSelector>
<px:PXCheckBox runat="server" ID="CstPXCheckBox7" DataField="UseMarkupRate" ></px:PXCheckBox>
<px:PXNumberEdit runat="server" ID="CstPXNumberEdit13" DataField="MarkupRate" />
<px:PXLayoutRule runat="server" ID="CstPXLayoutRule5" StartRow="True" ></px:PXLayoutRule>
<px:PXGrid SkinID="Details" Height="250" runat="server" ID="CstPXGridPriceClass">
<Levels>
<px:PXGridLevel DataMember="PriceClassMatrix" >
<Columns>
<px:PXGridColumn DataField="FromPrice" Width="100" ></px:PXGridColumn>
<px:PXGridColumn DataField="ToPrice" Width="100" ></px:PXGridColumn>
<px:PXGridColumn DataField="MarkupRate" Width="100" ></px:PXGridColumn></Columns></px:PXGridLevel></Levels></px:PXGrid></Template></px:PXFormView></Template>
</px:PXTabItem>
<px:PXTabItem Text="Inventory Item Class">
<Template>
<px:PXFormView DataMember="PricingINItemClass" runat="server" ID="CstFormViewINItemClass" >
<Template>
<px:PXSelector Width="350" runat="server" ID="CstPXSelector10" DataField="PriceClassID" ></px:PXSelector>
<px:PXSelector Width="350" runat="server" ID="CstPXSelector12" DataField="ItemClassID" ></px:PXSelector>
<px:PXCheckBox runat="server" ID="CstPXCheckBox15" DataField="UseMarkupRate" />
<px:PXNumberEdit runat="server" ID="CstPXNumberEdit11" DataField="MarkupRate" ></px:PXNumberEdit>
<px:PXLayoutRule runat="server" ID="CstPXLayoutRule8" StartRow="True" ></px:PXLayoutRule>
<px:PXGrid Height="250" SkinID="Details" runat="server" ID="CstPXGridINItemClass">
<Levels>
<px:PXGridLevel DataMember="INItemPriceClassMatrix" >
<Columns>
<px:PXGridColumn DataField="FromPrice" Width="100" ></px:PXGridColumn>
<px:PXGridColumn DataField="ToPrice" Width="100" ></px:PXGridColumn>
<px:PXGridColumn DataField="MarkupRate" Width="100" ></px:PXGridColumn></Columns></px:PXGridLevel></Levels></px:PXGrid></Template></px:PXFormView></Template>
</px:PXTabItem>
</Items>
<AutoSize Container="Window" Enabled="True" MinHeight="150" />
</px:PXTab>
</asp:Content>
Is there a way to add the toolbar to each tab item as they are essentially two distinct forms?
I’ve tried manually editing the aspx and remove the tab items and have multiple “<asp:Content ID="cont3" ContentPlaceHolderID="phG" Runat="Server">” but I have errors with duplicate ContentPlacehoderID’s and if I change that ID to a different one, it is not a recognized ID.
Or, do I just have to do two screens and live with it? It would be easy to do them separately, but it is more user friendly to have these two options in one place.