Search code examples
c#visual-studioc#-4.0rdlcdynamic-rdlc-generation

How to Left align and right align two different expression in the same text box in RDLC reports?


Platform: RDLC report Tool: Microsoft Visual Studio 2010

In RDLC reports, is there a way to left and right align two different expression in the same textbox, as one of the text need to start from left side and the other from the right side of the textbox?


Solution

  • Try following

    in RDLC designer textbox property -> alignment -> 
    horizontal ->
    expression builder 
    =iif(Fields!name.Value= "check","Left","Right")