Hi Tyrone,
We have checked your
reported query and found a two issue in your provided sample.
In your provided sample, you don’t not refer the script file. So please
add the below line in your project and refer the UG link for script reference.
UG link: https://blazor.syncfusion.com/documentation/common/adding-script-references
[_Host.cshtml]:
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
|
2.MenuFieldSettings tag must write inside the SfMenu tag, then only it
will render properly.
[NavMenu.razor]:
<SfMenu CssClass="dock-menu" Items="@MenuItems" Orientation="@VerOrientation">
<MenuFieldSettings ItemId="Id" Text="Text" ParentId="ParentId" Url="Url" IconCss="IconCss"></MenuFieldSettings>
</SfMenu>
|
Please ensure above two points and get
back to us, if you need any further assistance on this.
Regards,
YuvanShankar A
Attachment:
SidebarMenu_ef7dc969.zip