I have a main_menu.ascx web control placed in my root and contains my website navigation menu with NavigationURL to the pages
I have my root files and I included the ascx file there
Until here, I have no issue
I have sub folders in my root and I want to include same ascx file because I don't want more than one main_menu file!
But the problem here is with the NavigationURL because it will be different when the aspx file is in sub folder
How can make sure my NavigationURL is referring to the correct path whether aspx in root or in sub folder?
View Complete Post