473,796 Members | 2,720 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Images and Themes and MastePages

Hi
It is possible to use images, themes and Master pages in the same time?

I have my theme set in the web.config and all the pages (even my master
page) of my application are loaded with my favourite look and feell, all
works fine.

But I want to set a image control in my master page and that the image file
would be different bay each theme.

To try do it I write this sentence:
<asp:Image id="Image2" ImageUrl="~/Logo.gif" Runat="Server" />

but the image in the master page is not loaded.
And logo.gif is file storaged under the flowing directory :
AppThemes/MyTheme

What am I doing wrong?

Thanks in advance
Javier
Dec 26 '05 #1
1 1268
If the image is changed by selection of a theme, then the image url should be defined by the css file of the theme

Dec 26 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1128
by: ryan.mclean | last post by:
Hi all, I have a global theme on my machine. How do I access an image in the images folder in my theme from the page where the theme is applied? In the theme the images are in an images folder. I thought /themename/Images/img.gif would work, but no dice. Thank you for any assistance and have a great day, Ryan
1
1511
by: Jerad Rose | last post by:
I must be missing something, because this seems like it should be so obvious (and maybe it is). All I'm trying to do is create various skins for my site, with each skin containing a list of 30 some odd static images. In my page, I want to set the skin for the page, and then each image to be loaded from that skin's folder. That's all. For example, my page might look something like this:
4
1685
by: Sean | last post by:
My experience now working with master pages on and off for 6 months is that they can be very dangerous when working with themes. One example in particular is the changes I made to my banner menu which now work just fine with all my themes on my development machine but on my production server my non-standard themes are showing effects that are no longer in place even with a complete re-copy of my project. Problems like this with...
6
2495
by: Clinton Farleigh | last post by:
Hi, I was going to ask a question, but I think I've answered it so now I am going to rant about how crappy ASP.NET themes are instead. As I've indicated above, my problem today is with themes. Per microsoft "Only one theme can be applied to each page. You cannot apply multiple themes to a page, unlike style sheets where multiple style sheets can be applied."
2
1326
by: CK | last post by:
Hi all, I have a strange problem. I have a login.aspx web form i use for logging in to my app. It uses the asp:LoginView and asp:Login controls respectively. I have this strange bug i can not figure out. When the user initially hits the page, the styles are not applied and no images show up. Like I am using a graphic for the sign on button. In the Designer in Visual Studio 2005 the page looks exactly how I expect. Anyways, if you login and...
3
2572
by: WT | last post by:
Hello, I need to list all available themes for a .NET app, is there any API in ..NET2 for this or should I explore the folder files using IO methods ? Thanks for indication CS
0
1097
by: =?Utf-8?B?SlA=?= | last post by:
I’m working on a C# ASP application in which they want to give the users the ability to pic their color themes. Each theme has its own folder and the images for each theme are named the same So that in theory, all I need to do is dynamically change the scr tags of all the non server side images to be the name of the folder. Ex: <image scr=’/images//leftcorner.jpg’/> I’ve been pondering the best solution to make this work and I...
1
1950
by: suchar | last post by:
I have to alter one of wordpress themes, I got new images to replace the old ones, but ingenious designer has made some changes driving me mad. As it is I need to place two distinct background images on left and right side of main body. For I am only half-baked in such things I do not even know whether it is possible. Current css file states this: body { ... background: #ffffff url('images/bg.jpg') repeat-x; } #bbody { background:...
5
13384
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.