I have a RadTreeView that is bound to an XML file. The XML file contains the Text and NavigateURL property for each RadTreeNode item. However, when the NavigateURL property is empty for an item (which is the case for items that do not have a page of their own, but has child items) and I click on it, my browser tries to redirect to "" (as the NavigateURL is empty), and throws a page not found error.
Is there some way I can check (in JavaScript) whether the NavigateURL property actually contains something, and only redirect when this is the case?
Is there some way I can check (in JavaScript) whether the NavigateURL property actually contains something, and only redirect when this is the case?