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 ?