How to change grid captions style

4 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 03 Jun 2008 Link to this post

    Hello Sir
        
            I working on 3 level Hierarchycal Grid but i want to change the caption style. for that there is no any properties or method to do that.
            so i am requesting to you for solve this issue. send me code or properties to change grid caption style or format.

            pls reply quickly

    regards 
        swapnil
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jun 2008 Link to this post

    Hi ,

    You can style the Caption as shown below.

    <style type="text/css"
     
        .MasterTable_Default caption 
                { 
                 color: red; 
                }    
     
        .DetailTable_Default caption 
                { 
                 color: blue; 
                } 
         
        </style> 

    You can also refer the following help article.
    Caption Property

    Thanks
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Duc
    Duc avatar
    7 posts
    Member since:
    Dec 2008

    Posted 09 Feb 2009 Link to this post

    Is there a way to style the caption that's exported to PDF, word or excel?

    Thanks
    Duc
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Feb 2009 Link to this post

    Hello Duc,

    A possible approach is to use the CommandItemTemplate of the grid and add the additional information in the template and style the text as required. You can refer to the sections: "Including additional information as part of the exported document" and "RadGrid formatting and PDF export" of the following help document to understand better:
    Exporting tips and tricks

    Thanks
    Princy.
Back to Top