Unhandled exception when blog post is not found and skin control contains code blocks
jeremy-jameson opened this issue · comments
When a blog post is not found and the skin control (ViewPost.ascx) contains inline code blocks (i.e. <% ... %>) an unhandled exception occurs:
System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).