Hi All,
I have a treeview in my master page where I use custom pictures for.
I have defined a new theme in the App_Themes folder, and all my pages use
this theme.
In my TreeView.Skin file i have following entries:
CollapseImageUr l="themeimage s/icon_bg_lightgr ey.jpg"
NoExpandImageUr l="themeimage s/bullet_subitem. jpg"
ExpandImageUrl= "themeimage s/icon_bg_lightgr ey.jpg"
the themeimages is a folder under my theme.
Now I only see pictures when using a page that is under my root, and I don't
see the pictures if I browse to a page that is one directory deeper.
I also tries using:
CollapseImageUr l="~/images/icon_bg_lightgr ey.jpg"
NoExpandImageUr l="~/images/bullet_subitem. jpg"
ExpandImageUrl= "~/images/icon_bg_lightgr ey.jpg
where images is also a folder in the root of my website, but that doesn't
work either when browsing to the directory that is nested deeper.
Any thoughts welcome!
Regs,
Roel 2 2737
Put the themeimages directory under your theme directory.
-Brock
DevelopMentor http://staff.develop.com/ballen Hi All,
I have a treeview in my master page where I use custom pictures for. I have defined a new theme in the App_Themes folder, and all my pages use this theme. In my TreeView.Skin file i have following entries: CollapseImageUr l="themeimage s/icon_bg_lightgr ey.jpg" NoExpandImageUr l="themeimage s/bullet_subitem. jpg" ExpandImageUrl= "themeimage s/icon_bg_lightgr ey.jpg"
the themeimages is a folder under my theme.
Now I only see pictures when using a page that is under my root, and I don't see the pictures if I browse to a page that is one directory deeper. I also tries using: CollapseImageUr l="~/images/icon_bg_lightgr ey.jpg" NoExpandImageUr l="~/images/bullet_subitem. jpg" ExpandImageUrl= "~/images/icon_bg_lightgr ey.jpg where images is also a folder in the root of my website, but that doesn't work either when browsing to the directory that is nested deeper.
Any thoughts welcome!
Regs, Roel
Brock,
I have it like that, and that does not work for me :(
It works for the pages which are in a subfolder, but not for the aspx files
in the root of my website :(
Regs,
Roel.
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com... Put the themeimages directory under your theme directory.
-Brock DevelopMentor http://staff.develop.com/ballen
Hi All,
I have a treeview in my master page where I use custom pictures for. I have defined a new theme in the App_Themes folder, and all my pages use this theme. In my TreeView.Skin file i have following entries: CollapseImageUr l="themeimage s/icon_bg_lightgr ey.jpg" NoExpandImageUr l="themeimage s/bullet_subitem. jpg" ExpandImageUrl= "themeimage s/icon_bg_lightgr ey.jpg"
the themeimages is a folder under my theme.
Now I only see pictures when using a page that is under my root, and I don't see the pictures if I browse to a page that is one directory deeper. I also tries using: CollapseImageUr l="~/images/icon_bg_lightgr ey.jpg" NoExpandImageUr l="~/images/bullet_subitem. jpg" ExpandImageUrl= "~/images/icon_bg_lightgr ey.jpg where images is also a folder in the root of my website, but that doesn't work either when browsing to the directory that is nested deeper.
Any thoughts welcome!
Regs, Roel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Graham |
last post by:
I have a problem that I can see the reason for but cannot figure out a
solution.
I am using a simple URL rewriter to map www.me.com/1/2/3/4/product.aspx to
www.me.com/product?filter=1/2/3/4 to make my site Google-friendly. The site
dynamically adopts the correct master pages and themes according to a host
header-based query in SQL 2005 and via a custom sqlsitemapdatasource
automagically configures a breadcrumb and menus, all of which...
|
by: Graham |
last post by:
Hi
I posted this q last week, Stefano had an answer but unfortunately it would
only work if I was specifying the stylesheet reference directly; in this case
it is the ASP.NET 2 theme process that inserts a relative stylesheet
reference, which is no good if my client thinks everything is coming from the
original URL, not the rewritten one.
Anybody got any clues?
|
by: Seefor |
last post by:
I may be missing something, but why aren't master pages part of themes?
i.e. why don't they go in the App_Themes or global Themes directory, and be
referenced just by name (not full path) in the declaration for a page?
That way, you can change the complete layout by just applying the theme to a
page or a whole site.
I know that if your master pages are XHTML, then you can change the layout
significantly with CSS, but there are...
|
by: johannblake |
last post by:
I'm reading up on Themes and Master Pages in ASP.NET 2.0 but I cannot
seem to understand what the difference between the two are.
Do Master Pages essentially end up doing what Themes do? Is Themes an
older part of the .NET architecutre and simply included for backward
compatibility or are Themes and Master Pages two different things meant
to compliment each other?
Can someone give me some insight please.
|
by: sbelgrave |
last post by:
First off. Hats off to MS to really doing a good job of major fixes on
VS 2K5. It is really a lot better. I have begun using Master Pages
with Themes but am a bit confused as to how to make the CSS styles in
those themes appear during development (not at run time, i know that
most forums explain the css files in the themes are merged 'at run
time' to make the page you view).
I want to use Master Pages w/ Themes but if sadly I feel the...
| |
by: suresh.csharp |
last post by:
Hi,
I have created two themes in our application. Trying to apply themes
on fly to the entire application(all pages..) .
1. In web.config file mentioned <pages theme="theme1" />, It is
applying for the entire site.
2. In each Page, PreInit event menthod if I mention
Page.Theme = Profile.MyTheme;
It is applying the theme to which ever pages, I have declared
PreInit method with above code.
|
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...
|
by: New Bee |
last post by:
Hi,
I have been looking at Themes and Skins today and now resonably understand
how they work at a ground level. But I have a couple of questions.
1. ) StyleSheetTheme
I dont understand where this would be used. As I understand it the
precidence is like this.
|
by: mike |
last post by:
Hi. I am having trouble grasping the concept of applying a consistent
theme to an ASP.net website. I didn't used to like ASP because it was
too hard to apply a theme from a common theme folder like I could do
easily in PHP, but now I see that it has some nicer theming features
and master files.
So I want to use web.config to switch which theme I'm using, and I
want to be able to have several themes. My understanding of themes is
that I...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |