Sidebar with SfTreeView for NavigateUrl

Hi ,

I use Treeview within Sidebar Menu  for NavigateUrl load content into the @body but it dosn't work , can help me solve it ?
Attach my sample program.

With Thanks!

Jacky



Attachment: SidebarMenu_28b439bd.zip

3 Replies 1 reply marked as answer

SS Sharon Sanchez Selvaraj Syncfusion Team February 22, 2021 11:10 AM UTC

Hi Jacky, 

Greetings from Syncfusion Support. 

We have checked with your attached sample. 

Please make the below change in your SfTreeView code snippet to resolve the issue. The nodeurl must be changed to nodeUrl. 

     <SfTreeView CssClass="main-treeview" @ref="TreeView" ExpandOn="@Expand" TValue="TreeData"> 
                            <TreeViewFieldsSettings Id="nodeId" Text="nodeText" IconCss="iconCss" DataSource="treedata" HasChildren="hasChild" ParentID="pid" NavigateUrl="nodeUrl"> 
                            </TreeViewFieldsSettings> 
   </SfTreeView> 

Please check with the below links to know more about TreeView component. 




Please get back to us if you need any further assistance. 

Regards, 

Sharon Sanchez S. 


Marked as answer

JA Jacky February 23, 2021 03:33 AM UTC

Hi Sharon  ,

Very sorry for my negligence.

Thanks very much!

Jacky


KR Keerthana Rajendran Syncfusion Team February 24, 2021 09:25 AM UTC

Hi Jacky, 
 
Most welcome. We are glad to know that the issue is resolved. Please get back to us if you need further assistance. We will be happy to assist you.  
 
Regards, 
Keerthana. 
 


Loader.
Up arrow icon