Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Display RichTextBox string in RDLC report

Display RichTextBox string in RDLC report

Scheduled Pinned Locked Moved C#
database
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cdpsource
    wrote on last edited by
    #1

    I have rdlc string in which some words are bold,have text color,italic,etc and this string i get from database and i need to display it in rdlc report as is formated.

    Richard DeemingR 1 Reply Last reply
    0
    • C cdpsource

      I have rdlc string in which some words are bold,have text color,italic,etc and this string i get from database and i need to display it in rdlc report as is formated.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Assuming the field is formatted with HTML, you should just need to set the "Markup type" property on the field to "HTML": http://msdn.microsoft.com/en-us/library/dd207057.aspx[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      C 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Assuming the field is formatted with HTML, you should just need to set the "Markup type" property on the field to "HTML": http://msdn.microsoft.com/en-us/library/dd207057.aspx[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        C Offline
        C Offline
        cdpsource
        wrote on last edited by
        #3

        Thank you for your help bu unfortunately I have designed report in VS.NET 2008 and currently i need solution for version VS.NET 2008 before i plan to migrate my report in newer version.

        Richard DeemingR 1 Reply Last reply
        0
        • C cdpsource

          Thank you for your help bu unfortunately I have designed report in VS.NET 2008 and currently i need solution for version VS.NET 2008 before i plan to migrate my report in newer version.

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          If your report is running against SQL Server 2005, you can't use inline formatting. If it's running against SQL Server 2008 or higher, the "Markup type" property should work. Depending on your version of BIDS, you might need to open the report in Report Builder to access the property.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups