Hello,
I have updated to preview 9 and in the treeview he does not find the <NodeTemplate> item.
<Syncfusion.EJ2.Blazor.Navigations.EjsTreeView ID="ejs-treeview" ModelType="TreeItemModel" TValue="TreeViewItem" ExpandedNodes="ExpandedNodes">
<TreeViewEvents TValue="TreeViewItem" NodeSelected="OnTreeNodeSelected" NodeExpanded="NodeExpanded" NodeCollapsed="NodeCollapsed"/>
<TreeViewFieldsSettings TValue="TreeViewItem" DataSource="@TreeViewItems" Id="Id" ParentID="PId" Text="Name" HasChildren="HasChild" Expanded="Expanded" Selected="Selected" />
<TreeViewTemplates>
<NodeTemplate>
@{
var ctx = (context as TreeViewItem);
<div class="treeview-item-div">
@if (!string.IsNullOrEmpty(ctx.ImageUrl))
{
<img class="treeview_image" src="@ctx.ImageUrl" />
}
<span class="treeview-item-span">@ctx.Name</span>
</div>
}
</NodeTemplate>
</TreeViewTemplates>
</Syncfusion.EJ2.Blazor.Navigations.EjsTreeView>
Regards
Christoph Weller