I have an blazor template page which contains Below components
1.Header components
2.Sidebar (left side menu with toggle).
3.Content components (main page).
When I click page in side menu,then the page is loaded on content page.
That means I can load only one page in content page ( main page) when I click page on side menu.
My question is how can I load multiple page in content page (main page).
What is the best way to open multiple page in content page.
Can we use tabbed page or any other control in content page.
Please provide me example code..
Thanks for reply...
Tab should be created dynamically when I click on side menu.
and also it should be closable (need close icon button in each tab corner)
Note:-
I need mdi tabbed manager format as in below url
https://help.syncfusion.com/windowsforms/tabbedmdi/getting-started
Thanks for quick support.I am
using blazor tab component..
Please provide me example code to close this thread
|
<SfTab ShowCloseButton="true">
<TabItems>
@foreach (TabData Item in TabItems)
{
<TabItem>
<HeaderTemplate>
<div>@(Item.Header)</div>
</HeaderTemplate>
<ContentTemplate>
<div>@(Item.Content)</div>
</ContentTemplate>
</TabItem>
}
</TabItems>
</SfTab> |
|
void AddItemClick()
{
TabItems.Add(new TabData
{
Header = "JavaScript",
Content = "JavaScript (JS) is an interpreted computer programming language.It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed."
});
} |
|
<SfTab ShowCloseButton="true"> |
Thanks for reply
Will check and let you know...
Exact my requirement..
Thanks..
I have another clarification.
I have used ShowCloseButton="true" to close Tab .
I would like to know how to hide "CloseButton" for first tab.
Please find the solution in the below forum
https://www.syncfusion.com/forums/173078/hide-close-button-at-the-last-tab