Inquiridor
Alterar Idioma

Pergunta
-
Todas as Respostas
-
A tag language fica no Report Properties, não no View code.
Boreki[MSFT] - SQL Server Reporting Services- Sugerido como Resposta Junior Galvão - MVPMVP domingo, 29 de maio de 2011 13:31
-
-
No exemplo acima estou chamando meu relatório através de uma página ASPX.
O problema que tenho é que acessando o relatório através do SQL Reporting Services os controles nativos são exibidos em português (Exportar, Exibir relatório...).
Ao acessar através da minha página estes controles são exibidos em inglês !
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.Reporting.WebForms; using System.Configuration; namespace Reports { public partial class ReportSanction : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Sanction.ProcessingMode = ProcessingMode.Remote; Sanction.ServerReport.ReportServerUrl = new Uri(ConfigurationManager.AppSettings["ReportServerUrl"]); Sanction.ServerReport.ReportPath = ConfigurationManager.AppSettings["ReportXPTO"]; Sanction.ShowBackButton = true; Sanction.ServerReport.ReportServerCredentials = new MyReportServerCredentials(); Sanction.ServerReport.Refresh(); } } } }
-