RadGridView Header Styling

2 posts, 0 answers
  1. Purushothama
    Purushothama avatar
    6 posts
    Member since:
    Jun 2016

    Posted 26 Aug Link to this post

    Hello,

    I need to style a Grid Header Name. I have a Header Name as " Amount tax included". I need to apply styles only for string "tax included" .

    Could you please let me know the possible ways to achieve this.?

    I have attached the image.

    Thanks in advance!!

  2. Eyup
    Admin
    Eyup avatar
    3012 posts

    Posted 31 Aug Link to this post

    Hi Purushothama,

    You can use one of the following approach to achieve this requirement:
    <telerik:GridBoundColumn ...
        HeaderText="Amount <span style='color: red;'>tax included</span>">
    </telerik:GridBoundColumn>
    <telerik:GridTemplateColumn>
        <HeaderTemplate>
            Amount <span style="color: red;">tax included</span>
        </HeaderTemplate>
    </telerik:GridTemplateColumn>

    I hope this will prove helpful.

    Regards,
    Eyup
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top