Include in main navigation and use partial classes

Hi…
I have these two issue:

  1. Use partial classes
    I disabled it by the setting page, but when I create the CRUD pages, I have always the “use partial classes” option activated

  1. When I create the CRUD set of pages and I select the option
    image

the pages are not included in main navigation, I have to add it manually

What I am wrong?

Thanks
Stefano

Hi @Stefano_Carta,

The first thing seems to be a regression. We will try to release a fix for it with the next version.

I cannot reproduce the second issue though. Including pages in the main navigation relies on a certain markup in order to work. If this markup is changed this feature may not work. Did you modify in any way the MainLayout.razor from the default one that ships when you create a new application?

Hi @korchev
I will wait the new release…
for the second issue, I modified only the copyright position, I lock it to the bottom page

You can send us the markup of your MainLayout.razor so we will try to reproduce the problem locally.

do you mean this?

```

<RadzenHeader>

    <RadzenRow JustifyContent="JustifyContent.Start" AlignItems="AlignItems.Center" Gap="0">

        <RadzenColumn Size="5">

            <RadzenSidebarToggle Click="@SidebarToggleClick"></RadzenSidebarToggle>

        </RadzenColumn>

        <RadzenColumn Size="7">

            <RadzenStack AlignItems="AlignItems.Center" Orientation="Orientation.Horizontal" JustifyContent="JustifyContent.End" Gap="0.5rem" class="rz-px-2">

                <RadzenAppearanceToggle />

                <RadzenProfileMenu Visible="@Security.IsAuthenticated()" Click="@ProfileMenuClick">

                    <ChildContent>



                        <RadzenProfileMenuItem Path="profile" Icon="settings" Text="Profile" />

                        <RadzenProfileMenuItem Path="application-users" Icon="person" Text="Users" />

                        <RadzenProfileMenuItem Path="application-roles" Icon="security" Text="Roles" />

                        <RadzenProfileMenuItem Text="Logout" Value="Logout" Icon="power_settings_new" />

                    </ChildContent>

                    <Template>

                        @Security.User?.Name

                        <RadzenGravatar Email="@Security.User?.Name" />

                    </Template>

                </RadzenProfileMenu>

            </RadzenStack>

        </RadzenColumn>

    </RadzenRow>

</RadzenHeader>

<RadzenBody Expanded="@sidebarExpanded">

    <RadzenRow class="rz-mx-auto rz-px-4 rz-pt-2 rz-pt-md-4 rz-pt-lg-6 rz-pt-xl-12 rz-pb-2 rz-pb-lg-12" Style="max-width: 1440px;">

        <RadzenColumn Size="12">

        @Body

        </RadzenColumn>

    </RadzenRow>

</RadzenBody>

<RadzenSidebar @bind-Expanded="@sidebarExpanded">

    <RadzenStack AlignItems="Radzen.AlignItems.Center" class="rz-py-4 rz-py-lg-6" Style="padding: var(--rz-panel-menu-item-padding); border-bottom: var(--rz-panel-menu-item-border);">

        <RadzenImage Path="images/logo.png"  style="width: 48px; height: 48px;" AlternateText="Application logo"></RadzenImage>

        <RadzenText Text="ARXModelloDatiBIM_APP" TextStyle="Radzen.Blazor.TextStyle.Subtitle1" class="rz-mb-0" style="color: var(--rz-sidebar-color);" />

    </RadzenStack>

    <RadzenPanelMenu>

        <RadzenPanelMenuItem Text="Home" Path="" />
    </RadzenPanelMenu>

    <RadzenStack AlignItems="Radzen.AlignItems.Center" Gap="0" class="rz-py-4 rz-py-lg-6" Style="padding: var(--rz-panel-menu-item-padding); position: fixed; bottom: 0px; width: 250px">

        <RadzenText Text="ARXModelloDatiBIM_APP v1.0.0" TextStyle="Radzen.Blazor.TextStyle.Caption" TagName="Radzen.Blazor.TagName.P" TextAlign="Radzen.TextAlign.Center" />

        <RadzenText Text="Copyright Ⓒ 2026" TextStyle="Radzen.Blazor.TextStyle.Caption" class="rz-mb-0" TagName="Radzen.Blazor.TagName.P" TextAlign="Radzen.TextAlign.Center" />

    </RadzenStack>

</RadzenSidebar>

```

Yes, but please edit your post and format the code according to these guidelines.

sorry for apologize..

done

I am afraid the post is still not readable. Please format it according to the instructions.

<RadzenLayout>
    <RadzenHeader>
        <RadzenRow JustifyContent="JustifyContent.Start" AlignItems="AlignItems.Center" Gap="0">
            <RadzenColumn Size="5">
                <RadzenSidebarToggle Click="@SidebarToggleClick"></RadzenSidebarToggle>
            </RadzenColumn>
            <RadzenColumn Size="7">
                <RadzenStack AlignItems="AlignItems.Center" Orientation="Orientation.Horizontal" JustifyContent="JustifyContent.End" Gap="0.5rem" class="rz-px-2">
                    <RadzenAppearanceToggle />
                    <RadzenProfileMenu Visible="@Security.IsAuthenticated()" Click="@ProfileMenuClick">
                        <ChildContent>

                            <RadzenProfileMenuItem Path="profile" Icon="settings" Text="Profile" />
                            <RadzenProfileMenuItem Path="application-users" Icon="person" Text="Users" />
                            <RadzenProfileMenuItem Path="application-roles" Icon="security" Text="Roles" />
                            <RadzenProfileMenuItem Text="Logout" Value="Logout" Icon="power_settings_new" />
                        </ChildContent>
                        <Template>
                            @Security.User?.Name
                            <RadzenGravatar Email="@Security.User?.Name" />
                        </Template>
                    </RadzenProfileMenu>
                </RadzenStack>
            </RadzenColumn>
        </RadzenRow>
    </RadzenHeader>
    <RadzenBody Expanded="@sidebarExpanded">
        <RadzenRow class="rz-mx-auto rz-px-4 rz-pt-2 rz-pt-md-4 rz-pt-lg-6 rz-pt-xl-12 rz-pb-2 rz-pb-lg-12" Style="max-width: 1440px;">
            <RadzenColumn Size="12">
            @Body
            </RadzenColumn>
        </RadzenRow>
    </RadzenBody>
    <RadzenSidebar @bind-Expanded="@sidebarExpanded">
        <RadzenStack AlignItems="Radzen.AlignItems.Center" class="rz-py-4 rz-py-lg-6" Style="padding: var(--rz-panel-menu-item-padding); border-bottom: var(--rz-panel-menu-item-border);">
            <RadzenImage Path="images/logo.png"  style="width: 48px; height: 48px;" AlternateText="Application logo"></RadzenImage>
            <RadzenText Text="ARXModelloDatiBIM_APP" TextStyle="Radzen.Blazor.TextStyle.Subtitle1" class="rz-mb-0" style="color: var(--rz-sidebar-color);" />
        </RadzenStack>
        <RadzenPanelMenu>
            <RadzenPanelMenuItem Text="Home" Path="" />
<RadzenPanelMenuItem Text="Tabella UniCLASS" Path="t-b-uniclasses" Selected="false" />
<RadzenPanelMenuItem Text="Tabella OMNICLASS" Path="t-b-omniclasses" />
<RadzenPanelMenuItem Text="Tabella Tipo Dati" Path="t-b-tipo-datis" />
<RadzenPanelMenuItem Text="Tabella Opera" Path="t-b-operas" Expanded="false" Selected="false">
</RadzenPanelMenuItem>
<RadzenPanelMenuItem Text="Tabella Parte Opera" Path="t-b-parte-operas" Expanded="false" Selected="false" />
<RadzenPanelMenuItem Text="Tabella Schema IFC" Path="t-b-schemaif-cs" Expanded="false" Selected="false" />
<RadzenPanelMenuItem Text="Tabella Classi IFC" Path="t-bifc-classes" Expanded="false" Selected="false" />
<RadzenPanelMenuItem Text="Tabella Mandati" Path="t-b-mandatos" Expanded="false" Selected="false" />
        </RadzenPanelMenu>
        <RadzenStack AlignItems="Radzen.AlignItems.Center" Gap="0" class="rz-py-4 rz-py-lg-6" Style="padding: var(--rz-panel-menu-item-padding); position: fixed; bottom: 0px; width: 250px">
            <RadzenText Text="ARXModelloDatiBIM_APP v1.0.0" TextStyle="Radzen.Blazor.TextStyle.Caption" TagName="Radzen.Blazor.TagName.P" TextAlign="Radzen.TextAlign.Center" />
            <RadzenText Text="Copyright Ⓒ 2026" TextStyle="Radzen.Blazor.TextStyle.Caption" class="rz-mb-0" TagName="Radzen.Blazor.TagName.P" TextAlign="Radzen.TextAlign.Center" />
        </RadzenStack>
    </RadzenSidebar>
</RadzenLayout>

The file is still split in half. Please follow this procedure:

  1. Type triple ticks ```
  2. Press enter
  3. Paste the contents of MainLayout.razor
  4. Press enter
  5. Type triple ticks again ```
<RadzenLayout>

    <RadzenHeader>

        <RadzenRow JustifyContent="JustifyContent.Start" AlignItems="AlignItems.Center" Gap="0">

            <RadzenColumn Size="5">

                <RadzenSidebarToggle Click="@SidebarToggleClick"></RadzenSidebarToggle>

            </RadzenColumn>

            <RadzenColumn Size="7">

                <RadzenStack AlignItems="AlignItems.Center" Orientation="Orientation.Horizontal" JustifyContent="JustifyContent.End" Gap="0.5rem" class="rz-px-2">

                    <RadzenAppearanceToggle />

                    <RadzenProfileMenu Visible="@Security.IsAuthenticated()" Click="@ProfileMenuClick">

                        <ChildContent>



                            <RadzenProfileMenuItem Path="profile" Icon="settings" Text="Profile" />

                            <RadzenProfileMenuItem Path="application-users" Icon="person" Text="Users" />

                            <RadzenProfileMenuItem Path="application-roles" Icon="security" Text="Roles" />

                            <RadzenProfileMenuItem Text="Logout" Value="Logout" Icon="power_settings_new" />

                        </ChildContent>

                        <Template>

                            @Security.User?.Name

                            <RadzenGravatar Email="@Security.User?.Name" />

                        </Template>

                    </RadzenProfileMenu>

                </RadzenStack>

            </RadzenColumn>

        </RadzenRow>

    </RadzenHeader>

    <RadzenBody Expanded="@sidebarExpanded">

        <RadzenRow class="rz-mx-auto rz-px-4 rz-pt-2 rz-pt-md-4 rz-pt-lg-6 rz-pt-xl-12 rz-pb-2 rz-pb-lg-12" Style="max-width: 1440px;">

            <RadzenColumn Size="12">

            @Body

            </RadzenColumn>

        </RadzenRow>

    </RadzenBody>

    <RadzenSidebar @bind-Expanded="@sidebarExpanded">

        <RadzenStack AlignItems="Radzen.AlignItems.Center" class="rz-py-4 rz-py-lg-6" Style="padding: var(--rz-panel-menu-item-padding); border-bottom: var(--rz-panel-menu-item-border);">

            <RadzenImage Path="images/logo.png"  style="width: 48px; height: 48px;" AlternateText="Application logo"></RadzenImage>

            <RadzenText Text="ARXModelloDatiBIM_APP" TextStyle="Radzen.Blazor.TextStyle.Subtitle1" class="rz-mb-0" style="color: var(--rz-sidebar-color);" />

        </RadzenStack>

        <RadzenPanelMenu>

            <RadzenPanelMenuItem Text="Home" Path="" />

            <RadzenPanelMenuItem Text="Tabella UniCLASS" Path="t-b-uniclasses" Selected="false" />

            <RadzenPanelMenuItem Text="Tabella OMNICLASS" Path="t-b-omniclasses" />

            <RadzenPanelMenuItem Text="Tabella Tipo Dati" Path="t-b-tipo-datis" />

            <RadzenPanelMenuItem Text="Tabella Opera" Path="t-b-operas" />

            <RadzenPanelMenuItem Text="Tabella Parte Opera" Path="t-b-parte-operas" Expanded="false" Selected="false" />

            <RadzenPanelMenuItem Text="Tabella Schema IFC" Path="t-b-schemaif-cs" Expanded="false" Selected="false" />

            <RadzenPanelMenuItem Text="Tabella Classi IFC" Path="t-bifc-classes" Expanded="false" Selected="false" />

            <RadzenPanelMenuItem Text="Tabella Mandati" Path="t-b-mandatos" Expanded="false" Selected="false" />

        </RadzenPanelMenu>

        <RadzenStack AlignItems="Radzen.AlignItems.Center" Gap="0" class="rz-py-4 rz-py-lg-6" Style="padding: var(--rz-panel-menu-item-padding); position: fixed; bottom: 0px; width: 250px">

            <RadzenText Text="ARXModelloDatiBIM_APP v1.0.0" TextStyle="Radzen.Blazor.TextStyle.Caption" TagName="Radzen.Blazor.TagName.P" TextAlign="Radzen.TextAlign.Center" />

            <RadzenText Text="Copyright Ⓒ 2026" TextStyle="Radzen.Blazor.TextStyle.Caption" class="rz-mb-0" TagName="Radzen.Blazor.TagName.P" TextAlign="Radzen.TextAlign.Center" />

        </RadzenStack>

    </RadzenSidebar>

</RadzenLayout>

Thanks! We were able to reproduce the issue - it happens when security is enabled because of another recent change. A fix will be included in the next release.