473,722 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Asp.net Themes & Frontpage _vti_cnf directory

When I look at the source html generated from my asp, the links for
the css in my theme are duplicated to include files in the _vti_cnf.

<link href="../../App_Themes/MainTheme/_vti_cnf/StyleSheet.css"
type="text/css" rel="stylesheet " />
<link href="../../App_Themes/MainTheme/StyleSheet.css" type="text/css"
rel="stylesheet " />

I've had problems with my theme not working because there appeared to
be too many css files. I was able to fix it by combining css files
into a single file.

Is this a bug? Is there any way to have asp.net not include css files
from the _vti_cnf directory?

Thanks in advance,
Clint
Feb 4 '08 #1
2 1586
Hi Clint,

As long as those CSS files are placed inside a Theme folder, they will be
added to the header as far as I know. If you really want to manage the CSS
files to be included within the <linkdefinition s, the best idea is to move
them outside your App_Themes folder though that is a move against the
advantages of ASP.NET Skin support.

--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

"Clint Chapman" <cw******@gmail .comwrote in message
news:86******** *************** ***********@h11 g2000prf.google groups.com...
When I look at the source html generated from my asp, the links for
the css in my theme are duplicated to include files in the _vti_cnf.

<link href="../../App_Themes/MainTheme/_vti_cnf/StyleSheet.css"
type="text/css" rel="stylesheet " />
<link href="../../App_Themes/MainTheme/StyleSheet.css" type="text/css"
rel="stylesheet " />

I've had problems with my theme not working because there appeared to
be too many css files. I was able to fix it by combining css files
into a single file.

Is this a bug? Is there any way to have asp.net not include css files
from the _vti_cnf directory?

Thanks in advance,
Clint
Feb 5 '08 #2
On Feb 4, 7:07*pm, "Coskun SUNALI [MVP]" <Cos...@SUNALI. comwrote:
Hi Clint,

As long as those CSS files are placed inside a Theme folder, they will be
added to the header as far as I know. If you really want to manage the CSS
files to be included within the <linkdefinition s, the best idea is to move
them outside your App_Themes folder though that is a move against the
advantages ofASP.NETSkin support.

So asp.net themes and frontpage extensions are not really compatible?
The _vti* directories should be ignored by asp.net themes ideally.

Thanks,
Clint
Feb 5 '08 #3

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

Similar topics

1
2058
by: Robert Scheer | last post by:
Hi. Is there any article that talks about the purpose of each of the Frontpage extensions folders (_vti_cnf, _vti_pvt, _vti_script, and _vti_txt)? When I create a new ASP.NET application, these folders are automatically created. Thanks, Robert Scheer
5
1953
by: Jan Hyde | last post by:
I keep reading that there should be a couple of built in themes in the directory ...\Microsoft.NET\Framework\v2.x.xxxxx\ASP.NETClientFiles\Themes I've yet to see any machine with this 'Themes' directory. Anyone know why?
0
1129
by: =?Utf-8?B?QW5keSBFc2h0cnk=?= | last post by:
Dear friends, I tried to create an asp.net or web service application in vs 2003, I got these errors. any idea? Cannot create the offline cache in 'C:\Documents and Settings\\VSWebCache\CWXPTDVP5RRA\WebService2'. Unable to create a web at the URL "/C:/Documents and Settings" because FrontPage information was unexpectedly encountered beneath the corresponding directory ("C:\Documents and Settings"). If you are certain that there is no...
2
1617
by: =?Utf-8?B?amFuZWZj?= | last post by:
Newbie at FP- did something wrong - now all program filess will not open, all files in desktop folders have been erased, with the _vti_cnf folder (empty) replacing them. Did sysrestore in safe mode, no change. Help!
0
8863
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
8739
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9238
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...
1
9157
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,...
0
9088
tracyyun
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...
1
6681
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
4502
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...
1
3207
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 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.