473,408 Members | 2,161 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,408 software developers and data experts.

How to "include" a set of common ASP.NET controls

I am creating a ASP.NET website and in doing so, I am going to use "TABS" at
the top of the page. These "tabs" are the same for the entire website. Is
there an easy way (other than Frames) to "include" these common button/tab
controls on the top of every ASP.NET page of mine?

Thanks in advance...

Nov 15 '05 #1
2 1957
Look into User Controls.

They allow you to drop some stuff like tabs and images in a control and
reuse that control in your entire site.

(OT) Can't wait for whidbey's master pages to solve this

--
Tom Vergote / Developer
ORBID / IT Services
Tramstraat 61 / B-9052 GENT
Tel +32 (0)9 244 99 45 / +32 (0)9 244 99 96
http://www.orbid.be
"michael" <mp********@sbcglobal.net> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I am creating a ASP.NET website and in doing so, I am going to use "TABS" at the top of the page. These "tabs" are the same for the entire website. Is there an easy way (other than Frames) to "include" these common button/tab
controls on the top of every ASP.NET page of mine?

Thanks in advance...

Nov 15 '05 #2
Two ways you can do tha

1) Create a user control and place it in each page
2) Derive a class from System...Page and add the user control with tabs to it and then for all other pages derive from the class you have derived from System..Page class

Cheers
Shyam R
Nov 15 '05 #3

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

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
2
by: steve | last post by:
Hi, I need to do conditional script "include", but like to pull the code from db instead of a file. How do I do that? Reason: I like to implement some complex regex logic, and make it table...
3
by: Buddy Robbins | last post by:
Hey folks, I am re-writing an ASP.Net site for a company. The client wants to be responsible for the static content and navigation of their site, and I'll be responsible for any dynamic content. ...
2
by: clusardi2k | last post by:
Hello, I'm trying to understand someone else code. The below compiles and works fine and dandy. #include <sys/types.h> #include "unistd.h" #include "stdio.h"
2
by: michael | last post by:
I am creating a ASP.NET website and in doing so, I am going to use "TABS" at the top of the page. These "tabs" are the same for the entire website. Is there an easy way (other than Frames) to...
7
by: Matt Jensen | last post by:
Howdy I want to simulate with .Net what I used to do with classic ASP where you would have a series of include files with utility functions that you would include when you needed them. I read...
1
by: Andrew | last post by:
Hello, friends, In ASP, we use <!-- include --> to include header/footer files. What are recommended to do in ASP.net? Any sample source code or reference papers? Thanks a lot for your help.
3
by: Kceiw | last post by:
Dear all, When I use #include "queue.h", I can't link it. The error message follows: Linking... G:\Projects\Datastructure\Queue\Debug\main.o(.text+0x136): In function `main':...
6
by: Goran | last post by:
Hi all, this is just a "design" question. I'm unsure where to put my "#includes". Should I put it directly into headerfiles? Or into sourcefiles with a forward type declaration in...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.