How to add comments to part of a control in HTML?

2 posts, 0 answers
  1. Peter
    Peter avatar
    4 posts
    Member since:
    Jul 2015

    Posted 05 Aug 2015 Link to this post

    I'd much rather comment out a Telerik line in HTML than remove it.  Using <!-- --> yields an error.  Is this this possible?

        <telerik:RadGrid ID="Dashboard_RadGrid"
            runat="server" >
            <ClientSettings EnableRowHoverStyle="true"
                            EnablePostBackOnRowClick="true" >
            <MasterTableView DataKeyNames="Build.ID, BuildResult.ID" Name="TableMain" >
                    <telerik:GridBoundColumn DataField="Build.BuildNumber" HeaderText="Build Number" HeaderStyle-Width="120px" />
                    <telerik:GridBoundColumn DataField="BuildResult.CreationDate" HeaderText="Date" HeaderStyle-Width="140px" DataFormatString="<nobr>{0}</nobr>" />
                        <telerik:GridBoundColumn DataField="BuildResult.EvaluatorResultsErrorLevel" HeaderText="Full" HeaderStyle-Width="80px" />



  2. Eyup
    Eyup avatar
    2942 posts

    Posted 07 Aug 2015 Link to this post

    Hello Peter,

    Try the following approach and let me know if it works for you:
    <%--<telerik:GridClientDeleteColumn UniqueName="DeleteColumnName"></telerik:GridClientDeleteColumn>--%>

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top