Question nr 2:
I have a pagatree menu, and sometimes there is no results in the list but still I shows the HeaderTemplate. I also did try with a pagelist and that one did not show the header if the list was empty, but instead pagelist doesn’t have SelectedItemTemplate.
So is there any way to get both hidden header if there is no data and SelectedItemTemplate if there is something selected?