M
MDaisy
It is customary that the MenuItem NavigateUrl values either in a
sitemap file or in a database.
However, unfortunately, the consulting company that is developing the
software package for the company that I work for has all menu items
inline and hard-coded.
I cannot change their menu implementation because they won't let me
change it.
Anyway, there is currently a menu item called Tools and under it there
is a Search menu item
I need to add an additional menu item with a NavigateUrl that points
to SQL Server Report Manager so it changes when going from dev, to
qa and to prod.
Question: Is there a way for me to code a key in appsettings section
of web.config and plug it as NavigateUrl for my additional menu item?
web.config can be edited when promoting to another environment without
having to compile the application.
The menu is hard-coded in the master page of the entire web
application.
<asp:MenuItem Text="Tools" Selectable="false" >
<asp:MenuItem Text="Search" NavigateUrl="~/
Search.aspx"></asp:MenuItem>
thank you.
sitemap file or in a database.
However, unfortunately, the consulting company that is developing the
software package for the company that I work for has all menu items
inline and hard-coded.
I cannot change their menu implementation because they won't let me
change it.
Anyway, there is currently a menu item called Tools and under it there
is a Search menu item
I need to add an additional menu item with a NavigateUrl that points
to SQL Server Report Manager so it changes when going from dev, to
qa and to prod.
Question: Is there a way for me to code a key in appsettings section
of web.config and plug it as NavigateUrl for my additional menu item?
web.config can be edited when promoting to another environment without
having to compile the application.
The menu is hard-coded in the master page of the entire web
application.
<asp:MenuItem Text="Tools" Selectable="false" >
<asp:MenuItem Text="Search" NavigateUrl="~/
Search.aspx"></asp:MenuItem>
thank you.