How to send localization to SSRS

Attachments

The SSRSRenderingCulture property value is used during the report rendering in SSRS in order the data, which depend on localization (such as date, number and so on), were output correctly.

Example:

MainPage.xaml

…
<StackPanel Orientation="Horizontal" Grid.Column="1" >
  <TextBlock Text="SSRS culture:" FontSize="14" Margin="5"/>
  <TextBox x:Name="_ssrsLocale" Margin="3" Width="60" 
             Text="en-US" FontSize="14"/>
  <Button Content="RenderDocument" Click="Button_Click_1" 
          Width="200" Margin="4"/>
</StackPanel>
…
<ReportViewer:ReportViewer x:Name="reportViewer" Grid.Row="2"/>
…

MainPage.xaml.cs

reportViewer.SSRSRenderingCulture = _ssrsLocale.Text;

The document rendering was executed with en-US (English - United States) localization value.

The document rendering was executed with es-ES (Spanish - Spain) localization value.

Add Feedback