Click here to Skip to main content
13,248,562 members (86,242 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


4 bookmarked
Posted 16 Nov 2010

New line in textbox of Microsoft rdlc report

, 16 Nov 2010
Rate this:
Please Sign up or sign in to vote.
Ever tried to put a break in the textbox of the rdlc report? \n and such don't work...
You have to put System.Environment.NewLine in the string,
so your excpression will look something like

= Fields!MyField1.Value + System.Environment.NewLine + Fields!MyField2


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Olga Tabulov
Software Developer The Code Project
Canada Canada
Olga has worked with a variety of large industrial applications before joining The Code Project and is now thrilled to apply all that knowledge at the best company on her resume!

She loves to make the site safer, more robust and even more user friendly every day and gets to spend most of her day doing the only thing she loves most - developing.

When not developing, she's either out with her husband and son or at the gym.

You may also be interested in...

Comments and Discussions

QuestionJust what I needed Pin
Tesfamichael G.7-Mar-16 3:20
memberTesfamichael G.7-Mar-16 3:20 
GeneralThanks Pin
Satyam Tripathi8-Jan-15 1:05
memberSatyam Tripathi8-Jan-15 1:05 
QuestionGracias Pin
JxDarkAngel6-Oct-14 17:19
groupJxDarkAngel6-Oct-14 17:19 
QuestionNewline in single field only. Pin
shyam_gadge23-Aug-13 2:31
membershyam_gadge23-Aug-13 2:31 
I have one field which have large text. And i have set canGrow to true but at the end of line my text wraps to new line, that is correct but it breaks the words in between.

This is sample text to sh
ow the text wrapping in t
he tablix of rdlc.

I want some like this:

This is sample text to
show the text wrapping in
the tablix of rdlc.

Please help me, Any help is appreciated.

Thanks and Reagards
Answertextbox's expression section Pin
Member 381729919-Aug-13 2:30
memberMember 381729919-Aug-13 2:30 
Questionthank you Olga Tabulov Pin
lehoaitam29-May-13 16:14
memberlehoaitam29-May-13 16:14 
GeneralMy vote of 5 Pin
mvamsianil29-Apr-13 2:45
membermvamsianil29-Apr-13 2:45 
QuestionThanks a lot Pin
Ananaya3-Jun-12 6:13
memberAnanaya3-Jun-12 6:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 16 Nov 2010
Article Copyright 2010 by Olga Tabulov
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid