SPTreeView : Could not bind to the 'EncodedName' property (specified by TextField) while data binding TreeView. Please check the Bindings fields.
Posted by
Venkat Varkala
Labels:
SharePoint
Recently when I tried customize "SPTreeView" I came accross below error
Could not bind to the 'EncodedName' property (specified by TextField) while data binding TreeView. Please check the Bindings fields.The problem is I was trying to assign ID of "SiteMapDataSource" to SPTreeView Controls' "DataSourceId" property, when I updated the "DataSourceId" property to SPHierarchyDataSourceControl Control ID SPTreeView works fine.
Subscribe to:
Post Comments (Atom)

Post a Comment