How to replace id in url with some title.

May 18 2017 3:25 AM
hI
 
I have 2 pages
one is  View.aspx
 Second one is Detail.aspx
 
 
in View.aspx i have all posts and have a readmore button. like as follows
 
 When i click on readmore button it will return 
      Details.aspx?Id=1
 
i will get the post details base on this id value on detail.aspx page.
 
Actually the title of this id is "Owney" 
So i want to show title in the url  instead of id.
But the page will works on id only.
 
Means : I want to get   Details.aspx?Id=Owney
               instead of    Details.aspx?Id=1
 
But the Request.QueryString["Id"] is for this page set with 1  that means id.
 
This will effect to only this page not for other pages.
 
 
Can you please provide the solution for this.
 
Thank you so much for your support. 
 
 
 
 

Answers (2)