Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I work in windows form vs 2015 Microsoft report rdlc

I added two rectangle on body section

1- left center

2- right center

when print report i see rectangle on right display on left side

IF I set visibility as below

when valueprint parameter =1

show right rectangle only and hide left rectangle by assign expression

=IIF(Parameters!ValuePrint.Value=1,False, True)
when valueprint parameter =2
show left rectangle only and hide right rectangle by assign expression

=IIF(Parameters!ValuePrint.Value=1,False, True)

Result of above

visibility working

but show right rectangle on design on left side when print


and this actually my problem

How display every rectangle on fixed position as my design when assign visibility ?


What I have tried:

when print right rectangle display on left side when make visability
Posted
Comments
ahmed_sa 6-Mar-17 18:40pm    
to clear what i need controls that be hidden in rdlc leave space when hidden
and this space another controls that display occupy this space
how to prevent occupy another controls to place of hidden controls
this is actually what i need

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900