Click here to Skip to main content
14,882,311 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
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)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900