Hi all, im new to ASP.NET, migrating from PHP, I hope some nice folks can
help me out here.
With PHP im very used to creating a template system so i can start
designing/coding early and alter a single template which is then refershed
through the entire site (a good example being a menu).
Im totally lost in ASP.NET (2.0) right now, is this possible? What should I
be looking towards.
Thanks for any help and input.
Kind Regards
Tarun 3 952
You should take a look at Master Pages: http://www.devx.com/dotnet/Article/18042
Karl
-- http://www.openmymind.net/
"Tarun Mistry" <no****@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl... Hi all, im new to ASP.NET, migrating from PHP, I hope some nice folks can help me out here.
With PHP im very used to creating a template system so i can start designing/coding early and alter a single template which is then refershed through the entire site (a good example being a menu).
Im totally lost in ASP.NET (2.0) right now, is this possible? What should I be looking towards.
Thanks for any help and input.
Kind Regards Tarun
Hi Tarun,
1. create usercontrol and put menu in it. Then put usercontrol in individual
pages. When you need change menu, you only need change it in the usercontrol.
2. use Master page: create menu (and other common staff) in the Master page,
then create Contend pages and refer MasterPageFile. Any menu changes only
need to be done in one place, master page.
HTH
Elton Wang
"Tarun Mistry" wrote: Hi all, im new to ASP.NET, migrating from PHP, I hope some nice folks can help me out here.
With PHP im very used to creating a template system so i can start designing/coding early and alter a single template which is then refershed through the entire site (a good example being a menu).
Im totally lost in ASP.NET (2.0) right now, is this possible? What should I be looking towards.
Thanks for any help and input.
Kind Regards Tarun
Many thanks, the custom user controls look like exactly what i needed!
Thanks,
Taz
"Elton W" <El****@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com... Hi Tarun,
1. create usercontrol and put menu in it. Then put usercontrol in individual pages. When you need change menu, you only need change it in the usercontrol.
2. use Master page: create menu (and other common staff) in the Master page, then create Contend pages and refer MasterPageFile. Any menu changes only need to be done in one place, master page.
HTH
Elton Wang
"Tarun Mistry" wrote:
Hi all, im new to ASP.NET, migrating from PHP, I hope some nice folks can help me out here.
With PHP im very used to creating a template system so i can start designing/coding early and alter a single template which is then refershed through the entire site (a good example being a menu).
Im totally lost in ASP.NET (2.0) right now, is this possible? What should I be looking towards.
Thanks for any help and input.
Kind Regards Tarun This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Roger Jack |
last post by:
I have just finished reading Code Generation In Action which uses Ruby for
code generation. I would like to use Python instead. Is Cheetah the best
tool to use for templating source code files and...
|
by: Leif K-Brooks |
last post by:
I'm planning to start on a fairly large web application, most likely
using mod_python. I recently wrote a fairly small (but real-world
useful) web app with it, and all of those req.write()s made...
|
by: lloyd christopher |
last post by:
im developing a template based web application in perl and need some
guidance. currently its all pretty simple stuff, we tell the designers
place holders to use and then &username; or %USERNAME%...
|
by: Chad A. Beckner |
last post by:
I am starting to work on implementing ASP.NET (using VS.NET Dev 2003) into
our current ASP 3.0 intranet setup. We have several (say 15 - 20)
"applications" that are run within our intranet, which...
|
by: JL |
last post by:
When trying to template a class where the class
declaration is in a header file and the class
specification is in the source file, I receive linking
errors (Unresolved External Symbols... as if I...
| |
by: pkassianidis |
last post by:
Hello everybody,
I am in the process of writing my very first web application in Python,
and I need a way to
generate dynamic HTML pages with data from a database. I have to say I
am...
|
by: Paul |
last post by:
I have been coding apps with PHP for several years. But I am getting more
involved in larger and more complicated PHP applications and want to use
best practices.
I use Eclipse's PHP IDE. I...
|
by: jmDesktop |
last post by:
Hi, I was using .net and it uses templates. I like that it did not
mix the UI with logic. I saw there are many templating engines for
php usage. Can you recommend one? I don' t know which to...
|
by: Terrence Brannon |
last post by:
Hello,
The most common way of dynamically producing HTML is via template
engines like genshi, cheetah, makotemplates, etc.
These engines are 'inline' --- they intersperse programming...
|
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,...
|
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...
| |
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: 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...
|
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: 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...
|
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...
|
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 ...
| |
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...
| |