I'm trying to figure out the best practice to setup hierarchy data that i take from a database into some contoller that would show the hierachy. Basicly this would look like a normal tree but when you press the items that are under "chapters" you get a link to another page.
I have these tables and this is the way they are connected
Period
Courses
Subjects
Chapters
I select Period from a DropDownBox and then i want all the courses in that period to line up. Under each course would be the subject and under them are the chapers, typical hierarchy.
The tables are linked together with refrences to each other in linear way.
I have tried to use treeview to show this, but dont understand how to do it.
I though i could use <ul><il>
tags and do it at runtime.
Reapeter or datalist, possible ?
Is it better to do this with databinding in XAML or in code ?