I added my own provider in "web.config" named "SpecialContent1" for Generic Content module. I created a custom user control (ascx) that present a list of content items to the end user. Everything is working so far, I can create and edit in the admin and I can view all the content items "like a list" on the page where I drag-and-drop my control in. But, when I made the header a link following the "urlRewriteFormat" from the "web.config" and accessing through code "itemContent.UrlWithExtension" to create the link. The problem is when I click on the link I generated, it doesn't work.
For your information, the list page of content items is park/attractions/rides.aspx
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /park/attractions/rides/SpecialContent1/Ride-2.aspx
Please help. Thank you.