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"
            AutoGenerateColumns="false"
            AllowPaging="true"
            OnNeedDataSource="Dashboard_NeedDataSource"
            OnItemDataBound="Dashboard_ItemDataBound"
            OnItemCommand="Dashboard_ItemCommand"
            PageSize="20"
            EnableViewState="true"
            SelectedItemStyle-CssClass="MeasuredResultsDetail"
            runat="server" >
            <ClientSettings EnableRowHoverStyle="true"
                            EnablePostBackOnRowClick="true" >
     
            <MasterTableView DataKeyNames="Build.ID, BuildResult.ID" Name="TableMain" >
                <Columns>
                    <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" />
        -->
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
     

     

     

  2. Eyup
    Admin
    Eyup avatar
    3012 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>--%>

    Regards,
    Eyup
    Telerik
    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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top