I’m looking at the Sitefinity API to get a page id by file name and I’m not see anyway to do so. I did see an example of how to do it if I am currently on that page. What I need from the API is the URL to the page I that I want to go to next.
So if I am currently on Page “abcd.aspx” which has a custom control form. On the postback and after processing that form I will need to go to page “defg.aspx” as my Response.Redirect. But I need to find out the URL of that page before I can redirect.
I am assuming I first need to get that pageId and then I can use Telerik.Cms.IPage pageFromDb = cmsManager.GetPage(currentPageId) to get the page info that I need. But I’m am unsure on how to get the pageId based on just the file name without having to write my own linq to talk to the database.