none
Display RTF in Microsoft Report Viewer RRS feed

  • Question

  • Hi,

    I want to display rtf in microsoft report viewer 2008 which is stored in Sql Server 2005 Express Edition database, I am using Microsoft Visual Studio 2008 Professional Edition.

    If any suggestions are there then its is also accepted.

    Saturday, April 24, 2010 12:17 PM

All replies

  • Hi Bandish, you can't use rtf with report viewer 2005 and 2008, because both work with RS 2005 Schema.

    You are lucky.. in april MS was released the Visual Studio 2010, it include the Report Viewer 2010 (you can install it standalone) that works with RS 2008 Schema.
    This schema supports rich text (at least in the documentation).

    I will hope my response help you.

     


    lucaszacutti
    Thursday, May 6, 2010 2:44 AM
  • First of all thanks Lucas for your reply...

    You mean that i should use Report Viewer 2008 in development and at the time of deployment i should use Report Viewer 2010 for viewing reports?

    Saturday, May 8, 2010 8:15 AM
  • I mean you should use Visual Studio 2008/10 with Report Viewer 2010.

    If you choose Visual Studio 2008 you must install the Report Viewer 2010 available at http://www.microsoft.com/downloads/details.aspx?FamilyID=a941c6b2-64dd-4d03-9ca7-4017a0d164fd&displaylang=en

    When you work with Report Viewer earlier that 2010 the RDLC definition schema is RS 2005.

    From Report Viewer 2010 the RDLC definition schema is RS 2008.

     


    lucaszacutti
    Monday, May 10, 2010 1:45 AM
  • i have already downloaded that package, but i don't know how to use it with Visual Studio 2008.

    Monday, May 10, 2010 9:30 PM
  • i have already downloaded that package, but i don't know how to use it with Visual Studio 2008.

    Change linked report's dlls from 9th version to 10th by adding app.conifg:

    <?xml version="1.0"?>
    <configuration>
     <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
        <assemblyIdentity name="Microsoft.ReportViewer.ProcessingObjectModel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
       </dependentAssembly>
       <dependentAssembly>
        <assemblyIdentity name="Microsoft.ReportViewer.WinForms" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
       </dependentAssembly>
       <dependentAssembly>
        <assemblyIdentity name="Microsoft.ReportViewer.Common" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
       </dependentAssembly>
      </assemblyBinding>
     </runtime>
    </configuration>

     Executed .exe will call 10th version of Report. But it seems that 10th version doesn't include Design library for VS 2008. It means you will not be able to call or set up all new features in design mode, but will be able use it programatically.

    • Proposed as answer by Illya Reznykov Monday, January 10, 2011 10:07 AM
    Thursday, November 4, 2010 11:05 AM