473,395 Members | 1,668 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.

Project Name in an asp.net Item Template?

Hi,

Is it possible to store the project name in an Item Template?

I can use $safeprojectname$ in a Project Template, and the correct
name is replaced. However, if I do the same in an Item Template, it is
not replaced. I'm using VB.Net in a Web Application Project in VS 2005
SP1.
Thanks in advance,

Gabe

Mar 23 '07 #1
1 1542
What I would do is examine all of the project and item template files and
test the individual tokens. There might be a project token in the item
template engine, but I would not be surprised if it is missing. I am finding
there is much missing from .NET. I do not blame Microsoft for this
"short-sidedness", however, as I am now dealing with my own in a project I
am on. When you are focused on a goal, peripheral issues can get ignored. In
addition, you are probably a fringe case.

You can dynamically pull information, if you are trying to display this
information. You can also set information in config.

Personally, I see little use for project name in every item, as I write most
of my ASP.NET code to be used across multiple projects (skinable sites), at
least for the time being. Project name would show which site the idea came
from, but offer little else. Your mileage may vary.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************
Think outside the box!
*********************************************
"gabe" <ga*****@gmail.comwrote in message
news:11**********************@e65g2000hsc.googlegr oups.com...
Hi,

Is it possible to store the project name in an Item Template?

I can use $safeprojectname$ in a Project Template, and the correct
name is replaced. However, if I do the same in an Item Template, it is
not replaced. I'm using VB.Net in a Web Application Project in VS 2005
SP1.
Thanks in advance,

Gabe
Mar 24 '07 #2

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

Similar topics

2
by: CMM | last post by:
Is there a way to create an "item template" (File | Export Template) where it is only available to the current project? I mean, a lot of the time (most of the time I would say) "item templates"...
2
by: CMM | last post by:
Is there a way to create an "item template" (File | Export Template) where it is only available to the current project? I mean, a lot of the time (most of the time I would say) "item templates"...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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,...
0
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...
0
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...
0
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...

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.