473,698 Members | 2,029 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 1584
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
2052
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
1947
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
1128
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
9156
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
8860
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...
0
7712
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...
0
5860
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
4361
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
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3038
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
2
2323
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
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.