Click here to Skip to main content
13,732,108 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am currently working on a demo project. Here I need to create dynamic pages where user supply page name and page template(content container) where content should display, and contents.Now here Template(s) refers to as pre-built design with placeholder.

Now, I am creating a new page and I am providing PageName as PageNameFromUser and Templating1.aspx as template page then I am storing it like

PageId | GenerateUrl |PageName |
1001 | "~/Template1.aspx?ID=1001"|PageNameFromUser |

So when I navigate to that page I would I have `localhost/Template1.aspx?ID=1001`. But I want url should generate like `localhost/CustomPageNamefromUser`

How to achieve this one? Help needed

What I have tried:

Help needed here please guys.I don't know how to achieve this ?
Posted 10-Nov-17 4:20am
Updated 10-Nov-17 6:35am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180920.1 | Last Updated 10 Nov 2017
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100