Unable to bind to NavigateURLField in Treeview

caeanis

Freshman
Joined
Sep 6, 2006
Messages
40
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
 
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!
 
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.
 
Back
Top