I have a table with the following varchar fields:LEVEL1_TEXTLEVEL2_TEXTLEVEL3_TEXTLEVEL4_TEXTURL
I want to end up with a Explorere bar that looks like so
LEVEL1_TEXT LEVEL2_TEXT LEVEL2_TEXT LEVEL3_TEXTLEVEL1_TEXTetc.....
Thanks in advance
Edney Holder
Hello Edney Holder,
you can bind it to WebHierarchicalDataSource or Bind it to an XML Data Source or any other hierarchical data source, just set the data bindings.
First you can take a look at this forum post: Binding to Self-Related Data?http://news.infragistics.com/forums/p/42835/236521.aspx#
Hope this helps
Thanks for the prompt reply. From your reply I was able to do most of what i wanted. One thing is in following the examples I only got 2 levels. In order to get N levels I had to modigy the DataRelations.
In the examples the DataRelations was as follows:<DataRelations> <ig:DataRelation ParentDataViewID="vRoot" ParentColumns="SITE_MAP_ID" ChildDataViewID="vChild" ChildColumns="PARENT" /></DataRelations>
In order to go from 2 levels to N levels I had to change it to:
<DataRelations> <ig:DataRelation ParentDataViewID="vRoot" ParentColumns="SITE_MAP_ID" ChildDataViewID="vChild" ChildColumns="PARENT" /> <ig:DataRelation ParentDataViewID="vChild" ParentColumns="SITE_MAP_ID" ChildDataViewID="vChild" ChildColumns="PARENT" /></DataRelations>
Again Thanks for the help