Hi all,
I was wondering if it is possible to order the menu items. I am creating a MenuItem dynamicaly in code behind on page load and then once I have this Item I then need to load in the rest of the menu using the LoadContentFile method of the control.
The problem is that my menu adds the first item to the end after the LoadContentFile and I need it to be the first item in the menu. So it looks like this:
Item2 Item3 Item4 Item1
Is it possible to have it so that I have my dynamicaly created MenuItem be the first in the list? I had this working in the old menu with the same code but Prometheus doesnt seem to like it?
Any ideas??
Much appreciated.
Craig
I was wondering if it is possible to order the menu items. I am creating a MenuItem dynamicaly in code behind on page load and then once I have this Item I then need to load in the rest of the menu using the LoadContentFile method of the control.
The problem is that my menu adds the first item to the end after the LoadContentFile and I need it to be the first item in the menu. So it looks like this:
Item2 Item3 Item4 Item1
Is it possible to have it so that I have my dynamicaly created MenuItem be the first in the list? I had this working in the old menu with the same code but Prometheus doesnt seem to like it?
Any ideas??
Much appreciated.
Craig