Text over an image in an rdlc in VS2010 - visual-studio-2010

In VS2010, I've created an rdlc report that I want to view using the reportviewer. On the report, I want to use a scanned image underneath all the text (since it must look like the agency's letterhead), and this image must take up the whole page. The problem is that the text boxes on the report are all bumped down beneath the image. Can someone help me figure out how to make this work?

Right click the image, select Layout, Send to Back.

I'm doing this in VS 2012 now, but I think it's the same in VS 2010.
Right click the body of your report (in design mode),
Select "Body Properties..." and from there you can specify a Background Image.

You can place text above the image at design time. When ReportViewer display the report, it will look bad, but if you export the report in PDF format will look the same as you wish.
I know my answer does not resolve the problem. After working a lot on the subject, it is all I could get.
I have now tried in VS2013. No change.

Related

Set Page Background Color for Entire Crystal Report

I have a Crystal Report that was designed in CR Developer for Visual Studio (I'm using VS 2017, and the CR Developer is version SP23).
I'm looking for a way to change the color of the page. I can change each individual section and field, but what happens is between the last detail section and the page/report footer, only white shows. I figure that if I could somehow set the page background color, then even the blank sections of the page would still be colored.
Here is an example of what I'm talking about:
Any help is greatly appreciated.
Place a background color image in page header and set it to 'Underlay Following Sections'.

Dynamic image in a report SSRS (Visual Studio 2013 Report Designer)

I'm building a report in the report designer from Visual Studio 2013. There is a section in the report where I need to add an image, this image has to be data-bound (I already achieved this). The only problem is, that sometime this image has a null value, so no image is been rendered. If that happen I supposed to display an image that says "Coming Soon", the only problem is this image is not in the data base, so I have to add it from the archive directly.
My question is:
Is there a way to change how I add an image to a report during execution?
I mean, Can I have an expression to set a different source instead of a Database, either Embedded or External?
I will appreciate any help.
Ultimately you are looking for a dynamic image; I recommend setting to External and in the image source field, create an expression with an IsNothing check against your image source path (assuming it is the path you are supplying and not the image itself).
For example: Iif(IsNothing(Fields!ImageSource.Value), "ComingSoonImagePathOrName", Fields!ImageSource.Value)
A similar question and solution was presented here: Want to show dynamic image in SSRS report

Crystal report viewer not wraping correctly

I'm using Crystal reports 13 on visual studio 2010.
I have a report that is displayed in a CrystalViewerReport control and almost everything is ok except that with some details the text is not wraping correctly and some of the content is displayed out of the field area.
This only occurs in the viewer because if I export it as PDF the text is ok and no information is overlapped. So I would like to know if there is some configuration that I should apply on the control.
Thanks.
For Wrap your Text, Right Click on the textobject ,choose the formate object,Check the can grow Textbox,THus you can wrap your text.

Crystal Reports will insert certain images but not others

Are there specific requirements for images that are to be inserted into CR?
I’m trying to insert an image into Crystal reports, but nothing happens after I select my file. I have a different image that I’ve used for testing that inserts with no problems so I’m assuming that it has something to do with the JPG file settings when saving the image. Note that this is just a static logo for a page header – nothing is being dynamically loaded.
I know that GIFs cannot be used, so I’ve tried JPG and PNG to no avail. I’ve even saved my “working” image again through Photoshop and it will insert. I’ve then used those settings to save the non-working image, but that image wont insert. I’ve used Crystal Reports a lot in the past and this is the first time I’ve come across this issue and my searches lead me to a variety of resources for dynamic image inclusion, but nothing to for this hopefully simple issue.
I’m using Crystal Reports for Visual Studio 2010.
Link to images used in testing
After messing with this problem all day, I found out it’s a bug in the Crystal Reports IDE.
Here’s how to duplicate the issue:
Right click on your report and select Insert >> Picture
Double-click on the image that you wish to insert.
Depending on your image and how the image was saved in Photoshop, it may or may not insert into the report. I’ve had mixed results and apparently some images work and some do not. I haven’t quite figured out the pattern yet, but I believe it has to do with the color profiles of the image. I probably won’t waste any more time investigating it, because the following resolution has worked for me every time and I can import every image that I’ve created in Photoshop regardless of how the image was saved and the settings used to save the images. (Assuming that they’re all JPGs, of course.)
Resolution:
Right click on your report and select Insert >> Picture
SINGLE-click on the image that you wish to insert to select it.
Click “Open”
The image should insert into the report properly.
It’s a subtle difference, but I hope this saves someone else a few hours of debugging.
Dave
Worked AOK for me. Check if you have all the latest patches. I've attached a screenshot in Crystal 2011 and saved the .rpt for you to try and open in Visual Studio 2010: http://speedy.sh/RGgfg/crimages.zip
The reason is because the format is not supported, I had exactly the same problem but when I saved the file as JPG it started working perfectly!.
i think crytal report does not accept some image formats but what i did when i encountered the problem was to
1. open the image with coreldraw
2. copy the image content of the image and paste it in the crystal report instead of using the insert tool on crystal report and it worked
hope this will also be helpul.

RDLC Grid Lines in VS2010

I'm using the RDLC Report Designer in VS2010 10.0.3 RTM release.
I'm trying to turn on the gridlines in RDLC design view. I can turn on the rulers, but I can't seem to find the option to turn on grid lines.
Anyone know how to do this?
Unfortunately they dropped the grid in the VS2010 report designer and replaced it with simlilar lining up/space between functionality you see in the Form Designer.
In my opinion this was a mistake as there are many times when you want to work on an "absolute" grid as opposed to lining up "relative" to other elements, especially when trying to replcate existing reports.
I realize I'm posting an answer to an old post, but I was also looking how to do the same thing for my SSRS reports and tried:
Tools -> Option -> Windows Forms Designer -> General the Settings by default:
LayoutMode=SnapToLines
ShowGrid=True
SnapToGrid=True
The grid snap worked but no grid showed up.
The next best thing or work-around I found would be to also have the ruler show up so at least I could see where the snapping was taking place.
Next to the zoom dropdown on the designer is a ruler icon. Clicking that toggles the ruler on and off.
Hope this helps others trying to find a solution to the missing grid lines.
Right click on the blank section outside of the report, click View then Ruler.

Resources