Change ReportViewer Currency Format? - reportviewer

I was wondering how can I change currency format from US ($) to EURO (€) for a specific TextBox in Microsoft ReportViewer?
Because it always displays a dollar sign in front and the format is ##,###.## and as for euro it must be like ##.###,##

To add to the options already stated:
You can set the Language property of the report through Business Intelligence Studio (VS with SSRS project support) to =User!Language. This then picks up the culture/locale of the current thread.
I had to use this when users from multiple regions used the same reports.

Well the solution to that problem is to change the general report rdlc language to some of European country (for example I've put it to German language) and the currency field is displaying as it is supposed.

Thanks for the above. I solved my problem with your help however I just wanted to add some detail to this, for those of us who are just starting with report viewer.
The I did this step by step in VB2010
Right Click on the report in Solution explorer
Select Open With
Then select automatic editor selector (xml)
In side the report tags, enter the following tag. the en-gb should be changed to your country code.
<Language>en-gb</Language>
so it should looks something like this
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">
<Language>en-gb</Language>
<DataSources>
<DataSource Name="DataSet">
hope this helps

As You've discovered, you need to change the Language of the report.
Some extra info: You can't seem to do this via the GUI, you need to edit the <Languauge> element in the xml of the RDLC file. this link is about RDL files, but the details are the same for RDLC.

Related

SSRS 2016 - Change CSS of Report Server

I want to change the css file of my reports.
How can I do it with reporting services 2016?
The old methods didn't work for me (add style sheet file or make changes at the HtmlViewer file).
To just hide the headers and the option to navigate back to home change the link address to the report from
http://Reportserver/Reports_Instance/report/Folder/Report
to
http://Reportserver/ReportServer_Instance/Pages/ReportViewer.aspx?/Folder/Report
So you only get to see the report
To change the style of your report, it is intuitive. You can select the colors you want to include, chart borders, chart styles, etc directly on the GUI. I highly suggest that you rephrase your question to be more specific. Then, we can help you get the answer you are looking for.

Unable to change the text of a column name in SharePoint 2010

I have a SharePoint website running in the server. Which has a column name text in different language. I want to change the text in English language, but this column doesn't have link to click on it and make it editable- it seems this is dead column.
Can you please suggest how can I change such column name of list in SharePoint 2010. Image screenshot is below
I believe this will be possible if we know where to modify in the database to change the text of column name. Please give your valuable suggestions.
I have used SharePoint Manager 2010 to do this text changes for the current sharepoint website.
Cheers!

How to add a web page with html editor in Iron Speed

I have a website that I have built by Iron Speed.
I have to add a new web page with HTML editor.
I looked for that about 2 hours and I didn't find any helpful article. All the articles that I have read supposed that there is a table (in the db) that will be covered by the web page. :(
Any help would be appreciated.
Sorry for my English ...
If you want to create a page with the HTML editor hooked up to a database field, then Iron Speed Designer will do it for you automatically if the text field in the database is large enough, i.e., if Iron Speed detects this is a large string field it will automatically add the HTML editor for that field.
If you don't have a page created already, just use the application wizard to create an add record or edit record page. If you have an existing page that already contains your database field, you can also enable the HTML editor for that field via the property sheet. (I'm assuming you're using the current release? Iron Speed Designer v7.X.)
Above answers are good.
If you want to add different HTML editor than you can create a different Web Page in Visual Studio
Or other way is just put the whole code of .aspx page in to Cell Editor ...
It will not show in Designer but executes perfectly...
Following on from Chris you can adjust the settings for when Iron Speed generates a HTML editor under Tools -> Application Generation Options. Then Expand General Application Options followed by Rich Text Editor Controls. Then switch the Threshold higher or lower as you need. I think the default is 500 chars.
This process should work in versions 6, 7 and 8. It might be a little different in earlier versions.

Formatting multiple fields at once in RDL or RDLC

Over the years, I've been working with SSRS reports (RDL and RDLC) but I have not found a solution to this problem: Let's say I have x number of fields in my report. I would like to highlight all the fields at once and modify the background-color, foreground-color, font and font size, for all fields at the same time.
Is this possible? I've searched on the web and I've experimented with the report designer, and I have not found anything that allows me to do this (other than modifying the underlying XML directly, which is not an option).
Select all the controls in the designer and press F4 for properties. Change the background color, font etc.
It is possible to just select all fields and go to properties->format->paste from another fields format. That's it.

SQL Reporting Services: Why does my report shrink when it's emailed?

I created a simple report and uploaded it to my report server. It looks correct on the report server, but when I set up an email subscription, the report is much narrower than it is supposed to be.
Here is what the report looks like in the designer. It looks similar when I view it on the report server: [http://img58.imageshack.us/img58/4893/designqj3.png]
Here is what the email looks like: [http://img58.imageshack.us/img58/9297/emailmy8.png]
Does anyone know why this is happening?
This issue is fixed in SQL Server 2005 SP3 (it is part of cumulitive update package build 3161)
Problem issue described below.
http://support.microsoft.com/kb/935399
Basically Full Outlook 2007 Client Uses MS Word HTML Rendering Engine (Which Makes Web Archive Report Looked Jacked Up).
NOTE: Web Outlook 2007 Client Uses IE HTML Rendering Engine (Which makes Web Archive Report Look Okay).
We have installed the patch on DB housing Reporting Services and it does fix the issue. Emails look all nice and fancy now.
I notice that the screenshots show Outlook 2007. Perhaps you're not aware that Microsoft somewhat hobbled the HTML capabilities of Outlook in 2007, and now it uses the Word HTML engine, and not the more advanced Internet Explorer one? Might this explain the lacklustre appearance?
http://www.sitepoint.com/blogs/2007/01/10/microsoft-breaks-html-email-rendering-in-outlook/
I got around this problem by doing the
following:
Add a Page Header to the report
Add a line to the page header. Set the width of the line to the
desired page width.
Set the line colour to white (eg to hide the line)
Hope this helps someone else,
Following on from girlC0d3r's solution, images aren't always guaranteed to be shown in an email.
A better solution to widening the report to prevent the content from wrapping is to have a long unbroken string of characters with no whitespace.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
By giving the text the same color as the background of the email (e.g. white) they'll widen the report and be invisible to the user.
I don't see anything but my first guess is that the fonts are vastly different. The designer has one font and the email is a flat, no-frills kind of thing with a simple font. Without concrete examples, this is just a guess.
I don't think it's a font thing, because the text is being wrapped a lot, and it looks about the same size.
The images show in my preview, but not in the final post. So, here are links to them.
Report in the designer: [http://img58.imageshack.us/img58/4893/designqj3.png]
Email result: [http://img58.imageshack.us/img58/9297/emailmy8.png]
What report output format did you specify for the scheduled job? It seems to me you used HTML, which will autoscale depending on the output browser (HTML adapts).
If having the same layout is important then use PDF as the output format. Then, if the user wants to print the report you know exactly what it will look like and that it will fit nicely on the page.
Can you try a different format? pdf or xls maybe. In my experience web archive looks goofy. Don't know why.
Yeah, I'm using HTML. I would prefer to stick with that, because the users can just read it in their mail clients. PDF or XLS would require them to open an attachment.
I know that the HTML resizes itself to fit the browser, and that's a good thing. The problem I would like to fix is the wasted space - in the email client, the HTML shrinks too much.
I got around this problem by doing the following:
Add a Page Header to the report
Add a line to the page header. Set the width of the line to the desired page width.
Set the line colour to white (eg to hide the line)
Hope this helps someone else,
girlC0d3r is along the right lines (no pun intended), but the line will likely be shrunk along with the rest of the HTML in the email. A workaround I used yesterday was to create an image 1px high by 600px wide (or whatever), the same color as the background, and bring it into the report as an embedded image. Place it above or below the body of your report. This should force the intended width in the final email. I used this technique successfully in a report yesterday.
I just ran into this issue myself, exactly as portrayed in the OP's screenshots. The reports were beautifully rendered in nearly every format except for Web Archive. My trouble was the use of a rectangle containing each matrix that did not span the width of the report. Upon stretching it out through the remaining white space, the condensing behavior ceased. Hope that helps someone who doesn't have quick access to an SP upgrade!
Where it is not an issue of running on old software that needs a patch...
The reason is the columns are different sizes is because the MHTML Device Information Settings, 'OutlookCompat' is set to true
When creating an email subscription with MHTML format and open the report in Outlook, A forum post by Microsoft employee Fanny Liu says
change the OutlookCompat configuration setting for the MHTML Rendering extension in rsreportserver.config. Set the value to: False.
As I was researching it appeared that this would impact more than just column size. In my instance it was not that big of deal so I decided to leave well enough alone. It is correct in PDF and web, the email I send includes a link back to the report, if the client wants a pretty report they are going to want it in PDF, the email format is not expected to be printable.
Encountered the same issue and this worked for me.
Go to --> Properties --> Report
Set InteractiveSize Width to 4.9in
Set Margins to 0 for Left, Right, Top, and Bottom
Set pageSize to Width to 4.9in