Applying CSS to Crystal Reports RRS feed

  • Question

  • User-172769993 posted

    Hi I'm using crystal report version13,i need to set Cssclass in report. I have a cssclass named "cssreport" with the properties color:red;.
    I gave right click in the designer section,selected set cssclass and i selected object scope and gave the cssclass name also, after saving i executed but still am not getting the result.

    Also i have tried to set Cssclass from behind code still not getting any result.

    protected void Page_Load(object sender, EventArgs e)
    QueryClass q = new QueryClass();
    ReportDocument crystalReport = new ReportDocument();
    crystalReport.SetCssClass(ObjectScope.AllSections, "cssreport");
    string param = "1";
     CrystalReportViewer1.ReportSource = crystalReport;


    Wednesday, July 27, 2016 8:45 PM

All replies

  • User364480375 posted
    check your steps once again:
    Thursday, July 28, 2016 5:26 AM