Solved

Remove Blank space from RDLC

Posted on 2015-02-23
20
703 Views
Last Modified: 2015-03-25
I have created a RDLC report which display the result in two columns. I want to have a text to be displayed in the first page and signatories at the end of the page apart from Header and footer which gets repeated in all the pages.

Since I made the Body of the report as 2 columns I am not able to add any control which will be common for the columns. I placed the text box in the header region and made that visible only in first page. It gives the output but in all the rest of the pages, space occupied by the control getting displayed as empty space.

How to to remove that empty space in all the pages?
0
Comment
Question by:Loganathan Natarajan
  • 10
  • 10
20 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40628395
Can you attach a screen shot of what you mean?
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40628630
Yes. Please find the screenshots attached
Screenshot-1.png
Screenshot-2.png
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40628713
If you have defined that text section in the page header, there is no way that I know about, that would suppress the page header section on the following pages.

You would need to have an element in the body that is shown only on the first page.
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40629791
I understand, but I am unable to add the text section in the Body Element since I made the body element as 2 Columns.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40630746
How did you configure the Body for 2 columns?
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40631200
I have set one of the properties called Columns for Body section and made that as 2
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40631202
After making into 2 columns, I placed my table in one of the columns and left the second column blank. Output divided evenly in two columns
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40631369
What version of Microsoft Reporting are you using?  I don't see that property for the Body section.

RDLC Body Properties
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40632280
Hi, I am sorry that I mentioned as Body properties whereas it is report property. I have explained in my screenshot. We are using RDLC which is used in VS2010.

RDLC Issue
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40633266
What is the setting for Report.ConsumeContainerWhitespace?
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40634845
I just went thru some of the forums and just made this property to true but I could not arrive at a solution
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40636162
If that is a TextBox control, then you could make it as small as possible, and with CanGrow = True, it will autosize.  Or, you could set CanShrink = True, also, and see what effect that has.
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40637912
I Cannot make it as text box because I need to manipulate the data.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40638120
I don't understand what the portion of the report is, if it is not a TextBox.  What kind of data manipulation are you talking about?
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40641154
Hello Bob,

I clearly mentioned in my report. I have table to be manipulated with the data. When I add the property of columns into 2 I am not able to place any text box because If I place it will sit only on one column whereas I need to have this text box merged and shown as center aligned text as per the screenshot.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40642270
You attached two screen shots, with a box that has a red border (Dummy Text 2015).  I was not referring to the table, but that control, which looks like a TextBox.  Are we both talking about the same control?  If it is not a TextBox, then what is it?
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40647382
Yes. that is the text I place in header with the condition that it should display in only first page and I did that too, but blank space is being occupied on top of every successive pages which I don't want and I am unable to place this text box in the body region which I have divided into two columns

I hope you are able to understand my problem.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40647411
"Yes. that is the text I place in header"
What kind of control is that for the text in the header?  I assumed a TextBox.
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 40652151
yes
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40653881
I said, "If that is a TextBox control, then you could make it as small as possible, and with CanGrow = True, it will autosize.  Or, you could set CanShrink = True, also, and see what effect that has."

You said, "I Cannot make it as text box because I need to manipulate the data."

If it is a TextBox, then it can be 1 pixel high, and since the text is larger, then it will auto-grow to fill the text.  When it is blank on the next pages, then it will be 1 pixel high.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now