Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kurt Emch 44 posts 85 karma points
    May 31, 2013 @ 17:52
    Kurt Emch
    0

    RenderTemplate control doesn't seem to like nested master page for AltTemplateId

    I was thrilled to figure out the AltTemplateId and DocTypeAliasesToUseAltTemplate parameters in the RenderTemplate control today. I noticed that it does not work if the template is a nested master page.

    I have a FullBio Template, ID 1173, with its master template being People. It is set up like this in my templates:

    People
    - FullBio
    - ShortBio
    – Author

    If I use AltTemplateId="1173", it does not work. No errors, the page just does not render that part.

    If I however, remove FullBio (or any other nested master page) as a child of People, it will work as expected.

    People
    FullBio
    ShortBio
    Author

    Any idea as to why the nested would not work?

Please Sign in or register to post replies

Write your reply to:

Draft