Ticket T866959
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Blazor TreeView - It's not possible to expand a parent node that contains the NavigateUrl field

TreeView for Blazor - Allow to expand/collapse a parent node without navigating if you click on the caret

created 5 years ago

Currently if you assign a NavigationUrl to a tree view node, navigation will be triggered if you click at any point of the node, including the caret. For non-leaf nodes. it would be nice if you can expand and/or collapse a node without triggering navigation by clicking on the caret.

Answers approved by DevExpress Support

created 5 years ago (modified 5 years ago)

Hello,

DxTreeView can't prevent navigation when a parent node is clicked. We are researching this issue in the context of the Blazor Tree View - It's not possible to expand a parent node if this node contains the NavigateUrl field ticket. I added it to your Favorites, so you will get a notification when we update it. 
As a temporary workaround, you can use our Templates feature. I attached a sample project illustrating this approach.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.