11---
2- title : How to Add a Footer to the DockManagerContentPane
3- description : Learn how to add a fixed footer to the DockManagerContentPane.
2+ title : Add Fixed Footer to Scrollable DockManager Content Pane
3+ description : Learn how to add a fixed footer at the bottom of a scrollable DockManagerContentPane in a Telerik DockManager for Blazor .
44type : how-to
5- page_title : How to Add a Fixed Footer to DockManagerContentPane in UI for Blazor
6- meta_title : How to Add a Fixed Footer to DockManagerContentPane in UI for Blazor
5+ page_title : How to Add Fixed Footer to Scrollable DockManager Content Pane
6+ meta_title : How to Add Fixed Footer to Scrollable DockManager Content Pane
77slug : dockmanager-kb-add-content-pane-footer
8- tags : dockmanager, content, pane, footer, header, fixed
8+ tags : blazor, dockmanager, footer
99res_type : kb
1010ticketid : 1700189
1111---
@@ -31,62 +31,54 @@ To add a fixed footer below a scrollable content in a `DockManagerContentPane`,
3131```` Razor
3232<TelerikDockManager Height="90vh">
3333 <DockManagerPanes>
34-
35- <DockManagerSplitPane Orientation="@DockManagerPaneOrientation.Vertical" Size="40%">
34+ <DockManagerSplitPane Orientation="@DockManagerPaneOrientation.Vertical">
3635 <Panes>
37-
38- <DockManagerContentPane Size="55%" HeaderText="Pane 1.1">
39- <HeaderTemplate>
40- <div style="color: darkblue; font-weight: bold;">
41- Custom Header for Pane 1.1
42- </div>
43- </HeaderTemplate>
36+ <DockManagerContentPane Size="50%" HeaderText="Pane 1.1" Class="scrollable-pane">
4437 <Content>
45- <div style="display: flex; flex-direction: column; height: 100%;">
46- <!-- Scrollable content -->
47- <div style="flex: 1; overflow-y: auto; padding: 0.5rem;">
38+ <div class="pane-content-outer">
39+ <div class="pane-content-inner">
4840 @for (int i = 1; i <= 30; i++)
4941 {
5042 <div>Scrollable content line @i</div>
5143 }
5244 </div>
53-
54- <!-- Fixed footer -->
55- <div style="background: #f0f0f0; padding: 0.5rem; border-top: 1px solid #ccc;">
56- <strong>Custom Footer (Fixed)</strong>
45+ <div class="pane-footer">
46+ Fixed Pane Footer
5747 </div>
5848 </div>
5949 </Content>
6050 </DockManagerContentPane>
61-
6251 <DockManagerContentPane HeaderText="Pane 1.2">
6352 <Content>
6453 Second Content Pane in Split configuration
6554 </Content>
6655 </DockManagerContentPane>
67-
6856 </Panes>
6957 </DockManagerSplitPane>
70-
71- <DockManagerTabGroupPane>
72- <Panes>
73-
74- <DockManagerContentPane HeaderText="Tab 2.1">
75- <Content>
76- First Tab Content
77- </Content>
78- </DockManagerContentPane>
79-
80- <DockManagerContentPane HeaderText="Tab 2.2">
81- <Content>
82- Second Tab Content
83- </Content>
84- </DockManagerContentPane>
85-
86- </Panes>
87- </DockManagerTabGroupPane>
8858 </DockManagerPanes>
8959</TelerikDockManager>
60+
61+ <style>
62+ .scrollable-pane .k-pane-content {
63+ padding: 0;
64+ }
65+ .scrollable-pane .pane-content-outer {
66+ display: flex;
67+ flex-direction: column;
68+ height: 100%;
69+ }
70+ .scrollable-pane .pane-content-inner {
71+ padding: var(--kendo-spacing-4);
72+ flex: 1;
73+ overflow-y: auto;
74+ }
75+ .pane-footer {
76+ background: var(--kendo-color-surface);
77+ padding: var(--kendo-spacing-2) var(--kendo-spacing-4);
78+ border-top: 1px solid var(--kendo-color-border);
79+ font-weight: bold;
80+ }
81+ </style>
9082````
9183
9284## See Also
0 commit comments