Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<dot:ContentPlaceHolder> should be supported even inside templates #299

Open
tomasherceg opened this issue Jan 8, 2017 · 0 comments
Open

Comments

@tomasherceg
Copy link
Member

Currently, the ContentPlaceHolder cannot be used in a template because templates are instantiated in the Init phase which is too late.

            <bs:Panel>
                <HeaderTemplate>
                    <h1>{{value: Subtitle}}</h1>
                </HeaderTemplate>
                <ContentTemplate>

                    <dot:ContentPlaceHolder ID="MainOverview">
                    </dot:ContentPlaceHolder>

                </ContentTemplate>
            </bs:Panel>

We should allow the master pages to work even when the ContentPlaceHolder controls are not available yet, and chech that all of them are resolved after the Init event ends.
This would enable to use them in templates.

We should also check out how it affects the SpaContentPlaceHolder.

@exyi exyi added the proposal label Jan 30, 2017
@exyi exyi changed the title <doc:ContentPlaceHolder> should be supported even inside templates <dot:ContentPlaceHolder> should be supported even inside templates Mar 3, 2017
@tomasherceg tomasherceg added this to the Future milestone May 23, 2017
@tomasherceg tomasherceg modified the milestones: Version 4.0, Future Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants