No comments within RadPageLayout?

3 posts, 0 answers
  1. Rob Ainscough
    Rob Ainscough avatar
    262 posts
    Member since:
    Jan 2010

    Posted 18 Sep 2018 Link to this post

    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. Rumen
    Admin
    Rumen avatar
    13949 posts

    Posted 20 Sep 2018 Link to this post

    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.
  3. Rob Ainscough
    Rob Ainscough avatar
    262 posts
    Member since:
    Jan 2010

    Posted 20 Sep 2018 in reply to Rumen Link to this post

    Hi Rumen,

    Thanks, I wasn't aware of that restriction.

    Cheers, Rob.

Back to Top