Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3797344
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:23:20+00:00 2026-05-19T13:23:20+00:00

On my pages I sometimes have a tab menu with the following HTML: <div

  • 0

On my pages I sometimes have a tab menu with the following HTML:

<div class="tabWrapper">
    <div class="tab tabSelected"><a href="artworkHome.aspx">Home</a></div>
    <div class="tab"><a href="#">Create New</a></div>
    <div class="tab"><a href="#">Help!</a></div>
    <div class="clear"></div>
</div>

Different groups of pages have different tabs obviously. But what is the best way to write these tabs onto a page without manually doing it with HTML each time, so that if I want to add a tab I don’t have to go through each page ensuring they are all the same?

Should I make my own control? What is the best way to load these tabs in a modularised way? Should I have a class which holds all the tab groups and builds the HTML?

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T13:23:21+00:00Added an answer on May 19, 2026 at 1:23 pm

    If they are static controls you are best off creating the Html in custom ascx controls and load them dynamically on the page. Once they are created you should look at using the OutputCache directive which will speed up the page rendering.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two very similar .aspx pages. Both of them contain a DropDownList control.
In a set of HTML pages that have some important text that requires a
I already have the following declared in my pages.xml : <exception> <http-error error-code=500 />
I have some JavaScript that can appear on many different pages. Sometimes those pages
I have an Android app using webview to load and display html pages. But
Assuming I have a page request which goes like http://localhost/accounting/products?id=234 and sometimes it goes
my Page has many hover images, sometimes there are backgrounds from div-elements or src
Some pages are showing the phpinfo() output (in HTML so not php -i )
Scraping pages using BeautifulSoup; trying to filter out links that end in ...html#comments Code
I have several pages to do with several table on each page. I've got

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.