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

  • Home
  • SEARCH
  • 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 7552729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:51:27+00:00 2026-05-30T10:51:27+00:00

I have a ASP.net Web forms project that I am working on. I need

  • 0

I have a ASP.net Web forms project that I am working on.
I need to have a add club page where the admin can add a club to the website.

When the club is added it creates a small website within my website for that club automatically. I think this uses some form of string builder.

Then that club should be able to store their own details on that page.

I was going to do this doing asp.net routing. Would this be the correct way of going about this?

Having looked at different examples i would need to have the url for the webpage automatically generated

  • 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-30T10:51:28+00:00Added an answer on May 30, 2026 at 10:51 am

    assuming you are using asp.net 4.0.. something like this

    Global.asax.cs

    
    
        protected void Application_Start(Object sender, EventArgs e) {
            RegisterRoutes(RouteTable.Routes);
        }
    
        protected virtual void RegisterRoutes(RouteCollection routes) {
            routes.MapPageRoute("clubs"
            , "clubs/listing//{clubNumber}"
                , "~/Clubs/ManageClub.aspx");
        }
    
    
    

    so urls like /Clubs/Listing/ClubNum101 would resolve to /Clubs/ManageClub.aspx

    In ManageClub.aspx check for RouteData e.g.

    if (Page.RouteData != null && Page.RouteData.Values.ContainsKey("clubNumber")) {
        //do something here
    }
    

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

Sidebar

Related Questions

Using web forms I know that you can only have one ASP.NET form on
I have an Asp.Net 4.0 Web Forms project that uses url routing for user
I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data
I have an ASP.NET web application that is using forms authentication. Everything is configured
I have a windows forms client that consumes an ASP.net web service. It's my
In an ASP.NET web forms project that is not quite ready to be upgraded
I am a developer working on an ASP.Net Web Application that uses forms authentication.
I have an ASP.Net 4.0 web forms application that is ignoring any changes I
I have an existing asp.net webforms project that uses Microsoft's Enterprise DAAB for the
I have a hybrid ASP.NET WebForms/MVC project. In my Master Page, I have a

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.