Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Remove Blank space from RDLC

Posted on 2015-02-23
20
889 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

860 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