G
Guest
Hi, I'm using images in my menu control. I have my menu setup based on this
example:
http://msdn2.microsoft.com/en-US/li...ols.menuitembinding.imageurlfield(VS.80).aspx
I have a theme and right now, the theme structure looks like...
App_Themes
--Authenticated
----Images
------Menu
--------Item.jpg
--------Item2.jpg
--------Item3.jpg
--------etc.jpg
In my menu.xml file I have my nodes defined as follows:
<MapHomeNode NavigateUrl="~/ProjectBackground/default.aspx"
ImageUrl="~/App_Themes/Authenticated/Images/Menu/application_home.png"
Title="Project Background"
Description="Project Background"
ToolTip="Project Background">
</MapHomeNode>
My problem is that I can't seem to get the ImageUrl to funcion with the
themes. I've tried:
ImageUrl="Images/Menu/application_home.png"
ImageUrl="/Images/Menu/application_home.png"
ImageUrl="~/Images/Menu/application_home.png"
I would expect the first one to work, but it doesn't!
Both of these work just fine (they both render the same way)
ImageUrl="~/App_Themes/Authenticated/Images/Menu/application_home.png"
ImageUrl="App_Themes/Authenticated/Images/Menu/application_home.png"
I feel that I'm well versed in 1.1, but 2.0 remains egnigmatic. I'm sure
that I'm overlooking the obvious, would someone please help me out?
Thanks,
example:
http://msdn2.microsoft.com/en-US/li...ols.menuitembinding.imageurlfield(VS.80).aspx
I have a theme and right now, the theme structure looks like...
App_Themes
--Authenticated
----Images
------Menu
--------Item.jpg
--------Item2.jpg
--------Item3.jpg
--------etc.jpg
In my menu.xml file I have my nodes defined as follows:
<MapHomeNode NavigateUrl="~/ProjectBackground/default.aspx"
ImageUrl="~/App_Themes/Authenticated/Images/Menu/application_home.png"
Title="Project Background"
Description="Project Background"
ToolTip="Project Background">
</MapHomeNode>
My problem is that I can't seem to get the ImageUrl to funcion with the
themes. I've tried:
ImageUrl="Images/Menu/application_home.png"
ImageUrl="/Images/Menu/application_home.png"
ImageUrl="~/Images/Menu/application_home.png"
I would expect the first one to work, but it doesn't!
Both of these work just fine (they both render the same way)
ImageUrl="~/App_Themes/Authenticated/Images/Menu/application_home.png"
ImageUrl="App_Themes/Authenticated/Images/Menu/application_home.png"
I feel that I'm well versed in 1.1, but 2.0 remains egnigmatic. I'm sure
that I'm overlooking the obvious, would someone please help me out?
Thanks,