Page Url by page type

359 Views Asked by At

Is there any way to get the Page Url by its page type ?

I'm trying to create an extension method that allows to redirect to pages using the page type instead of the URL

For a page called Index.asxp

I need to get "Index.aspx" by using Index class TypeOf(Index)

0

There are 0 best solutions below