473,395 Members | 1,484 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1563
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 <linkdefinitions, 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**********************************@h11g2000 prf.googlegroups.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 <linkdefinitions, 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
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...
5
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'...
0
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...

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.