caeanis Posted September 6, 2006 Posted September 6, 2006 Hi, I am trying to bind an xml file to a tree view. I get the following error when attempting to designate which attribute of a node will be the target or link: Error Parsing Control: Could not bind to the 'Nav' Property (specified by NavigateURLField) while data binding TreeView. Check the Bindings fields. Here is an example of the nodes I am attempting to bind to: <TreeNode Title="Fugue" Nav="fugue.htm"/> Can anyone tell me what I may be doing wrong? Caeanis Quote
caeanis Posted September 8, 2006 Author Posted September 8, 2006 Addition info... I might also add that the target for the url is another frame. I know I can use a target attribute to set this but setting this or the NavigateURLField to an existing attribute produces the the aforementioned error in VS2005. Any ideas would be appreciated. Thank you! Quote
caeanis Posted September 9, 2006 Author Posted September 9, 2006 Well I got that figured out Ok so I think I found out why it wasn't binding correctly. The attributes weren't consistent through the xml document, once I made sure that all the nodes had the referenced attributes it loaded fine. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.