473,467 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Template / Skin in ASP.Net?

Hi,

if I want my asp.net application to have a consistent look and feel
throughout, is there any techniques or mechanism to do it? It's something
like template or skin. So that when I decided to change the layout of the
application, I do not have to change it in every of my aspx file.

In ASP, I used to write a template class. So was wondering asp.net got new
feature for this?

Any suggestion?

Cheers
Shelby
Nov 19 '05 #1
2 1317
This is normally done using stylesheets so that none of the pages have any
properties pertaining to font name or size, page colours, background images
etc etc, with in the HTML themselves. They only reference a CSS file.
"Shelby" <sh****@singnet.com.sg> wrote in message
news:O7**************@tk2msftngp13.phx.gbl...
Hi,

if I want my asp.net application to have a consistent look and feel
throughout, is there any techniques or mechanism to do it? It's something
like template or skin. So that when I decided to change the layout of the
application, I do not have to change it in every of my aspx file.

In ASP, I used to write a template class. So was wondering asp.net got new
feature for this?

Any suggestion?

Cheers
Shelby

Nov 19 '05 #2
Plus you'll have a skin mechanism in ASP.NET 2.0 allowing to set properties
for server control server side either application wide (or more exactly for
all pages using a particuler "theme") or based on a SkinId

Patrice

--

"Dan Bass" <Not Listed> a écrit dans le message de
news:uV**************@TK2MSFTNGP14.phx.gbl...
This is normally done using stylesheets so that none of the pages have any
properties pertaining to font name or size, page colours, background images etc etc, with in the HTML themselves. They only reference a CSS file.
"Shelby" <sh****@singnet.com.sg> wrote in message
news:O7**************@tk2msftngp13.phx.gbl...
Hi,

if I want my asp.net application to have a consistent look and feel
throughout, is there any techniques or mechanism to do it? It's something like template or skin. So that when I decided to change the layout of the application, I do not have to change it in every of my aspx file.

In ASP, I used to write a template class. So was wondering asp.net got new feature for this?

Any suggestion?

Cheers
Shelby


Nov 19 '05 #3

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

Similar topics

11
by: Dave Rahardja | last post by:
OK, so I've gotten into a philosophical disagreement with my colleague at work. He is a proponent of the Template Method pattern, i.e.: class foo { public: void bar() { do_bar(); } protected:...
7
by: Frédéric Mayot | last post by:
Hi I'm trying to define a skin for a custom control. I can't see how to do it... My custom control inherits from a TextBox but it doesn't recognize the skinID defined for asp:TextBox. Any idea ?...
6
by: Neal | last post by:
Hi All, I used an article on XSLT and XML and creating a TOC written on the MSDN CodeCorner. ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/dncodecorn/html/corner042699.htm However, it did'nt...
0
by: Bishop | last post by:
I have a template column with an image in it. I assigned a skin to the image to adjust the width. I don't get an errors but it also dosn't change the width. Is it even possible to do what I'm...
1
by: Adam | last post by:
I would like to create a skin system for my website using PHP. I would like it so all the visual elements are completely separate from the scripts. I have an idea but it isn't very efficient and I'm...
31
by: Mark Dufour | last post by:
Hi all, I have recently released version 0.0.20 and 0.0.21 of Shed Skin, an optimizing Python-to-C++ compiler. Shed Skin allows for translation of pure (unmodified), implicitly statically typed...
8
by: scotty | last post by:
Can a .skin file be created without visual studio? Thanks, Scott
0
by: magicofureyes | last post by:
Hello Guys im a just a new user and i dnt knw much abt Xml i want to upload a new template in Blogger so got some free coding but when i save this code in Blogger template it say '''' Your...
2
by: =?Utf-8?B?UGF1bA==?= | last post by:
I have a large, complex Gridview (itemtemplates, boundfield, hyperlink fields, etc.) I want to use this same gridview on multiple pages. Rather than copying this gridview on multiple pages, it...
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
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
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...
0
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.