G
Guest
Hello, problem is simple.
I have a website with atm 2 themes. Now i have both themes placed in
diffrent directories in the asp.net Themes folder
Themes
-Red
--CSS
--Images
-Blue
--CSS
--Images
So each theme has its own css folder and its own image folder.
I have a aspx page on that aspx page is a <asp:Image, how do i get this
<asp:Image to point to the folder of the current theme?
I tried to create a theme file inside of the folders red and blue with the
following:
<asp:Image Runat="server" ImageUrl="Images/" />
On the aspx page i have a image like this:
<asp:Image ID="Image2" runat="server" ImageUrl='logo.gif' />
Only problem is that it does not work, when i look at the source of the page
i see this:
<img id="Image2" src="App_Themes/Red/Images/" alt="" />
What i want is in the skinfile to be able to set a UrlPrefix, so when it is
used it gets this url prefix and then the above would work.
Is that possible?
I have a website with atm 2 themes. Now i have both themes placed in
diffrent directories in the asp.net Themes folder
Themes
-Red
--CSS
--Images
-Blue
--CSS
--Images
So each theme has its own css folder and its own image folder.
I have a aspx page on that aspx page is a <asp:Image, how do i get this
<asp:Image to point to the folder of the current theme?
I tried to create a theme file inside of the folders red and blue with the
following:
<asp:Image Runat="server" ImageUrl="Images/" />
On the aspx page i have a image like this:
<asp:Image ID="Image2" runat="server" ImageUrl='logo.gif' />
Only problem is that it does not work, when i look at the source of the page
i see this:
<img id="Image2" src="App_Themes/Red/Images/" alt="" />
What i want is in the skinfile to be able to set a UrlPrefix, so when it is
used it gets this url prefix and then the above would work.
Is that possible?