manivineet
asked on
Load user control (which acts as menu) from different XML files
I need a way to find the xml file which is located in the currect directory
(please see the screenshot)
now for folder NMI > zzObject.xml (contailns sitemap )
similarly and each folder has its own .xml file
now I have a user control which acts as a menu and that menu needs to be based on the xml file
So,
1. how does the user control know which page is using it
2. how does the user control acess the .xml file fom the directory where the page which has been loaded and then use it.
screenshot.jpg
(please see the screenshot)
now for folder NMI > zzObject.xml (contailns sitemap )
similarly and each folder has its own .xml file
now I have a user control which acts as a menu and that menu needs to be based on the xml file
So,
1. how does the user control know which page is using it
2. how does the user control acess the .xml file fom the directory where the page which has been loaded and then use it.
screenshot.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.