Flexviewer and styled text

Posted by: dcol on 27 February 2018, 1:26 pm EST

    • Post Options:
    • Link

    Posted 27 February 2018, 1:26 pm EST

    Using the RTFfield element in a flxr document renders RTF code beautifully within the C1FlexReportDesigner on the desktop, but if the same flxr is called from within an ASP.NET MVC .Net Framework WebAPI for ReportService, then nothing displays - in fact, in my experience even if an empty RTFfield control is place into the flxr, the whole thing fails.

    So, it appears that there is currently no way to display RTF text in a flxr document that is rendered in a browser.

    Are there plans to offer an editor that enables, for example, bolding, italicizing, underlining, and bulleting, and are there plans to enable FlexViewer rendered in a browser to display such text?

    Thanks.

  • Posted 27 February 2018, 8:25 pm EST

    Hi,

    We are sorry, we are unable to replicate the issue at our end. Please refer to the attached sample.

    If the issue persists, please modify the attached sample (FlexReport) to replicate the issue.

    ~Manish

    ReportServie_FLXR.zip

  • Posted 28 February 2018, 5:15 am EST

    I ran the WEBApi you sent on localhost and saw that using the ReportViewer.html page displayed the RTF box just fine. I then tried a couple of my own examples on localhost and all was fine as well. (I had neglected to try localhost yesterday.)

    I then published your ReportServie_FLXR to Azure and then ran the ReportViewer.html page. The result was a blank display. I then deleted the RTF box from RTFReport.flxr, re-published and the display was fine - no RTF box of course but the rest was fine.

    So when I attempt, from an Azure account, to access a flxr report containing an RTF element it fails. If I attempt to do the same from localhost it succeeds.

    reportViewer.serviceUrl = ‘http://reportservieflxr.azurewebsites.net/api/report’;

    reportViewer.filePath = ‘ReportsRoot/RTFReport.flxr’;

    reportViewer.reportName = “Report 1”;

    reportViewer.serviceUrl = ‘http://reportservieflxr.azurewebsites.net/api/report’;

    reportViewer.filePath = ‘ReportsRoot/RTFReport-ButNoRTFField.flxr’;

    reportViewer.reportName = “Report 1”;

    I will leave the above connection WebAPI on Azure until I hear back from you in case you’d like to confirm.

    Thanks

  • Posted 1 March 2018, 1:43 am EST

    Hi dcol,

    Thanks for elaborating the issue. Please keep the WebAPI connection open a little longer. We will need some time to test this out. I will update you on this by Monday

  • Posted 3 March 2018, 5:54 am EST

    I have been looking at Rich Text editors and Report Viewers by other vendors. In my products I am being asked to include Rich Text editors instead of plain text areas and have the contents of the Rich Text editors be displayed/printed correctly in Report Viewer reports.

    C1: has no Rich Text editor control. Report Viewer can display plain text and RTF text (with issue described above) but has no HTML text box.

    Syncfusion: has a nice Rich Text editor control that produces HTML text, but Report Viewer has plain text area only

    Telerik: has a nice Rich Text editor control that produces HTML text, and has a dedicated HTML textbox available in the Report Viewer.

    Will C1 be catching up soon?

    I have been a C1 customer since VSPrint 2 and currently have a C1 Studio-Enterprise subscription.

    Thanks.

  • Posted 5 March 2018, 7:56 pm EST

    Hi,

    This is in discussion with the product team. I will notify you their comments.

    ~nilay

  • Posted 7 March 2018, 7:09 am EST

    Are you still looking into the original issue above? Shall I still keep the WebAPI connection open?

  • Posted 8 March 2018, 1:17 am EST

    This is currently not possible due to some technical limitations.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels