This is a migrated thread and some comments may be shown as answers.

No comments within RadPageLayout?

2 Answers 48 Views
PageLayout
This is a migrated thread and some comments may be shown as answers.
Rob Ainscough
Top achievements
Rank 1
Rob Ainscough asked on 18 Sep 2018, 09:27 PM

For some reason in "design view" (in VS 2015) having any comments within the scope of RadPageLayout triggers errors?

        <telerik:RadPageLayout ID="RadPageLayout1" runat="server" BorderWidth="1px">
            <!-- Online -->
            <Rows> 

....

Designer triggers error that on <!-- Online --> ??   This is valid syntax so no sure why the design has a probelm with it?

Cheers, Rob.

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Sep 2018, 11:52 AM
Hello Rob,

This is a generic Visual Studio error which you will get and experience with the native asp controls too - screenshot:

<asp:DropDownList runat="server">
<!-- Online -->
    <asp:ListItem Text="text1" />
    <asp:ListItem Text="text2" />
</asp:DropDownList>

The server ASP tags do not allow any other content including HTML tags except the allowed ones related to the specific control.

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Rob Ainscough
Top achievements
Rank 1
answered on 20 Sep 2018, 11:25 PM

Hi Rumen,

Thanks, I wasn't aware of that restriction.

Cheers, Rob.

Tags
PageLayout
Asked by
Rob Ainscough
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Rob Ainscough
Top achievements
Rank 1
Share this question
or