I have the following ReportViewer at the bottom of one of my pages. I wish for it to display in French for French users.
Here's code-behind
Here's my Report Code-Behind
Any ideas what i'm missing?
<
div
style
=
"text-align: center; min-height: 300px; margin-top:5px;"
>
<
telerik:ReportViewer
ID
=
"ReportViewer"
runat
=
"server"
Width
=
"100%"
Height
=
"850"
/>
</
div
>
Here's code-behind
If
currentReport IsNot
Nothing
Then
Dim
instanceReportSource
As
New
Telerik.Reporting.InstanceReportSource()
instanceReportSource.ReportDocument = currentReport
ReportViewer.ReportSource = instanceReportSource
End
If
Here's my Report Code-Behind
public
partial
class
RiskDashboard : Telerik.Reporting.Report
{
public
RiskDashboard()
{
// Required for telerik Reporting designer support
//
System.Threading.Thread.CurrentThread.CurrentUICulture =
new
CultureInfo(
"fr-CA"
);
System.Threading.Thread.CurrentThread.CurrentCulture =
new
CultureInfo(
"fr-CA"
);
InitializeComponent();
}
}
Any ideas what i'm missing?