none
Apply css on RDLC report using c# RRS feed

  • Question

  • Hello

    I want to know how to apply css in reporting

    If I apply css on ReportViewer it will apply but only reflect on pagesize  



    HTML TAG


    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"

                Height="430px" Width="791px" CssClass="rep"  >

                <LocalReport ReportPath="Report\Report1.rdlc">

                    <DataSources>

                        <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1_participantreport" />

                    </DataSources>

                </LocalReport>

            </rsweb:ReportViewer>

    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetData" TypeName="DataSet1TableAdapters. TableAdapter"></asp:ObjectDataSource>



    CSS TAG

     

    .rep

    {

          border-right: lime 10px solid;

          border-top: lime 10px solid;

          border-left: lime 10px solid;

          color: olive;

          border-bottom: lime 10px solid;

          background-color: #ccffff;

          font-weight: bold;     

    }

    .rep A

    {

          color: purple;

    }




    i want to apply css on all reporting font color = "olive"

    when the report is displayed using a web form...

    How I apply please help me it‘s urjent

    i will thanks to all of  who read and reply the post

    Friday, January 4, 2008 11:25 AM