Only Content controls are allowed directly in a content page that contains Content controls
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
2
down vote
favorite
I have SharePoint error in custom page layout
I checked this issue in SP logs and found this
Only Content controls are allowed directly in a content page that contains Content controls.
at System.Web.UI.FileLevelPageControlBuilder.AppendLiteralString(String text)
at System.Web.UI.TemplateParser.ProcessLiteral()
2016 page-layout
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
2
down vote
favorite
I have SharePoint error in custom page layout
I checked this issue in SP logs and found this
Only Content controls are allowed directly in a content page that contains Content controls.
at System.Web.UI.FileLevelPageControlBuilder.AppendLiteralString(String text)
at System.Web.UI.TemplateParser.ProcessLiteral()
2016 page-layout
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Somewhere in your page, you are using an element which is not allowed. Best you post the relevant part of your page so we can see what may be wrong.
– helb
3 hours ago
If you share the markup for the page layout we will be able to help better.
– James Randal
3 hours ago
Yes its working fine now I changed the content place holder elements from <asp:content> to <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
– Mohamed Magdy
1 hour ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have SharePoint error in custom page layout
I checked this issue in SP logs and found this
Only Content controls are allowed directly in a content page that contains Content controls.
at System.Web.UI.FileLevelPageControlBuilder.AppendLiteralString(String text)
at System.Web.UI.TemplateParser.ProcessLiteral()
2016 page-layout
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have SharePoint error in custom page layout
I checked this issue in SP logs and found this
Only Content controls are allowed directly in a content page that contains Content controls.
at System.Web.UI.FileLevelPageControlBuilder.AppendLiteralString(String text)
at System.Web.UI.TemplateParser.ProcessLiteral()
2016 page-layout
2016 page-layout
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 4 hours ago


Robert Lindgren
22.5k94268
22.5k94268
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 4 hours ago
Mohamed Magdy
163
163
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Mohamed Magdy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Somewhere in your page, you are using an element which is not allowed. Best you post the relevant part of your page so we can see what may be wrong.
– helb
3 hours ago
If you share the markup for the page layout we will be able to help better.
– James Randal
3 hours ago
Yes its working fine now I changed the content place holder elements from <asp:content> to <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
– Mohamed Magdy
1 hour ago
add a comment |Â
Somewhere in your page, you are using an element which is not allowed. Best you post the relevant part of your page so we can see what may be wrong.
– helb
3 hours ago
If you share the markup for the page layout we will be able to help better.
– James Randal
3 hours ago
Yes its working fine now I changed the content place holder elements from <asp:content> to <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
– Mohamed Magdy
1 hour ago
Somewhere in your page, you are using an element which is not allowed. Best you post the relevant part of your page so we can see what may be wrong.
– helb
3 hours ago
Somewhere in your page, you are using an element which is not allowed. Best you post the relevant part of your page so we can see what may be wrong.
– helb
3 hours ago
If you share the markup for the page layout we will be able to help better.
– James Randal
3 hours ago
If you share the markup for the page layout we will be able to help better.
– James Randal
3 hours ago
Yes its working fine now I changed the content place holder elements from <asp:content> to <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
– Mohamed Magdy
1 hour ago
Yes its working fine now I changed the content place holder elements from <asp:content> to <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
– Mohamed Magdy
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
The error message is correct that only content tags can be added in those sections.
I have seen issues where the Content tag is all lower case like
<asp:content ....>
when infact it should be uppercase e.g
<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
The error message is correct that only content tags can be added in those sections.
I have seen issues where the Content tag is all lower case like
<asp:content ....>
when infact it should be uppercase e.g
<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
add a comment |Â
up vote
2
down vote
accepted
The error message is correct that only content tags can be added in those sections.
I have seen issues where the Content tag is all lower case like
<asp:content ....>
when infact it should be uppercase e.g
<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
The error message is correct that only content tags can be added in those sections.
I have seen issues where the Content tag is all lower case like
<asp:content ....>
when infact it should be uppercase e.g
<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
The error message is correct that only content tags can be added in those sections.
I have seen issues where the Content tag is all lower case like
<asp:content ....>
when infact it should be uppercase e.g
<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
answered 2 hours ago


James Randal
820216
820216
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
add a comment |Â
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
Thanks, It's Working fine :)
– Mohamed Magdy
1 hour ago
add a comment |Â
Mohamed Magdy is a new contributor. Be nice, and check out our Code of Conduct.
Mohamed Magdy is a new contributor. Be nice, and check out our Code of Conduct.
Mohamed Magdy is a new contributor. Be nice, and check out our Code of Conduct.
Mohamed Magdy is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsharepoint.stackexchange.com%2fquestions%2f249080%2fonly-content-controls-are-allowed-directly-in-a-content-page-that-contains-conte%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Somewhere in your page, you are using an element which is not allowed. Best you post the relevant part of your page so we can see what may be wrong.
– helb
3 hours ago
If you share the markup for the page layout we will be able to help better.
– James Randal
3 hours ago
Yes its working fine now I changed the content place holder elements from <asp:content> to <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
– Mohamed Magdy
1 hour ago