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 302499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:06:10+00:00 2026-05-12T07:06:10+00:00

Looking for advice on the net but not getting very far, so I thought

  • 0

Looking for advice on the net but not getting very far, so I thought I would ask for some advice. I’ve seen it done, so know what I want to do, but looking I can work out how it was done

What I want to do, is allow users to modify the layout of an ASPX file, so that they can use it as a letter template, moving address lines, format of the page e.t.c. Now in the example that I was shown, the page inheritied a standard class, and this class had a set of generic functions, such as foreName / sureName / addressLine1 e.t.c, then when designing the ASPX file, if the user wanted addressLine1 to be displayed they would add the tag content = "addressLine1"

Any advice on how to achieve the above would be greatly appreciated, think I’m missing lots of simple stuff

  • 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-12T07:06:11+00:00Added an answer on May 12, 2026 at 7:06 am

    It might be possible to use a baseclass with the properties they need to define as virtual members. Just create a class (no page, just a class) in you project with the virtual members you want your users to use.

    public class BasePage : Page {
      public virtual string Content;
    }
    

    In the pages you (or your users) create you need to inherit from that class. Your page would look like:

    public class MyPage : BasePage {
      public override string Content = "My Content";
    
      //Other logic can go here
    }
    

    (since the BasePage inherits from the Page class the page will function just like any other Aspx page).

    Please note that the base page class needs to be defined in the App_Code folder to be available for other pages/items within you project.

    This can also be done for functions.

    More reading about virtual members and functions can be done at MSDN

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

Sidebar

Related Questions

I'm looking for some advice on whether or not I should use a separate
I not a DB expert, so am looking for advice for a web-based system
Looking for some advice on the best way to implement localization along with client
I'm looking for some advice on the best way to provide a single place
I’m looking for some advice. I recently wrapped up a project where I inherited
I am converting an old script from ASP to ASP.NET and would like some
I'm looking for some advice if possible. PHP isn't the main language I write
I'm looking for advice on serialization in a .net app. The app is a
I am looking for advice on how the save long post contents in asp.net.
I am looking for some inputs and advise, I think i know what i

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.