When I open my report if I want to shake in their tools, such as: increase or decrease the screen (zoom), save my report in excel or pdf. or view the other pages of my report, it loses the reference parameters that were passed.
Of error, can not do nothing but see the first page. Anything to try to change the error. help me
HELP PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
HELP - REPORT ERROR
HELP - REPORT ERROR
I use Flex Builder and C #.
The parameters such as:
- Name of the Report.
- Filters.
Send all parameters from flex to C #.
Arriving in C # it checks the report and what the parameters and sends pro Stimulsoft, oh then it returns the data in the report for me.
However when viewing other pages of my report he loses reference.
Or give a zoom, or save. All of the error. Help me
See the code:
public partial class GerarRelatorio: System.Web.UI.Page
{
public static String temp = "";
public static String connectionString = "";
public static String AUX;
protected void Page_Load (object sender, EventArgs e)
{
AppDirectory HttpContext.Current.Server.MapPath string = (string.Empty);
StiReport StiReport report = new ();
report.Dictionary.Databases.Clear ();
report.Dictionary.Databases.Add (new Stimulsoft.Report.Dictionary.StiSqlDatabase ("Connection", "patmosweb", "Password = ct7878; Persist Security Info = True; User ID = patmosweb; MultipleActiveResultSets = True; Initial Catalog = patmosweb; Data Source = mssql.patmosweb.com.br; Max Pool Size = 350 "));
Lc_nome_relatorio String = "";
Lc_parametro1 String = "";
Lc_parametro2 String = "";
Lc_parametro3 String = "";
Lc_parametro4 String = "";
NomeRazao String = "";
Invoice String = "";
lc_parametro1 = Request.Form ["parameter1"];
lc_parametro2 = Request.Form ["parameter2"];
lc_parametro3 = Request.Form ["parameter3"];
lc_parametro4 = Request.Form ["parameter4"];
NomeRazao = Request.Form ["NomeRazao"];
Invoice = Request.Form ["Invoice"];
lc_nome_relatorio = Request.Form ["nome_relatorio"];
switch (lc_nome_relatorio)
{
case "environments":
case "Areas":
case "Steps":
case "Processos_de_Fabricacao"
case "Sectors":
case "Sub_Setores"
case "Bancos_Compensacao_Nacional"
case "Contas_Bancarias"
case "Operadoras_de_Cartao"
case "Plano_de_Contas_Financeiro"
case "Unidades_de_Medidas"
case "Tipos_de_Estruturas"
case "Produtos_Servicos"
case "Grupos_de_Estoque_Servicos"
case "_Sintetico Structures":
case "Tipos_Produtos_Servicos"
case "CFOP"
case "NCM"
case "Especie_de_documentos"
case "Checks":
case "Produtos_Servicos_descricao_Grupo_Todos"
case "Grupos_de_Estoque_Servicos_Produtos"
case "Grupos_de_Estoque_Servicos_Servicos"
case "Tipos_Produtos_Servicos_Produtos"
case "Tipos_Produtos_Servicos_Servicos"
case "Estruturas_Analitico"
case "Estruturas_Sintetico"
case "Contas_a_Pagar_Cadastradas"
report ["@ start_date"] = lc_parametro1;
report ["@ end_date"] = lc_parametro2;
break;
}
report.Load (AppDirectory + "\ \" + + lc_nome_relatorio. "MRT");
report.Render ();
= StiWebViewer1.Report report;
}
}
}
The parameters such as:
- Name of the Report.
- Filters.
Send all parameters from flex to C #.
Arriving in C # it checks the report and what the parameters and sends pro Stimulsoft, oh then it returns the data in the report for me.
However when viewing other pages of my report he loses reference.
Or give a zoom, or save. All of the error. Help me
See the code:
public partial class GerarRelatorio: System.Web.UI.Page
{
public static String temp = "";
public static String connectionString = "";
public static String AUX;
protected void Page_Load (object sender, EventArgs e)
{
AppDirectory HttpContext.Current.Server.MapPath string = (string.Empty);
StiReport StiReport report = new ();
report.Dictionary.Databases.Clear ();
report.Dictionary.Databases.Add (new Stimulsoft.Report.Dictionary.StiSqlDatabase ("Connection", "patmosweb", "Password = ct7878; Persist Security Info = True; User ID = patmosweb; MultipleActiveResultSets = True; Initial Catalog = patmosweb; Data Source = mssql.patmosweb.com.br; Max Pool Size = 350 "));
Lc_nome_relatorio String = "";
Lc_parametro1 String = "";
Lc_parametro2 String = "";
Lc_parametro3 String = "";
Lc_parametro4 String = "";
NomeRazao String = "";
Invoice String = "";
lc_parametro1 = Request.Form ["parameter1"];
lc_parametro2 = Request.Form ["parameter2"];
lc_parametro3 = Request.Form ["parameter3"];
lc_parametro4 = Request.Form ["parameter4"];
NomeRazao = Request.Form ["NomeRazao"];
Invoice = Request.Form ["Invoice"];
lc_nome_relatorio = Request.Form ["nome_relatorio"];
switch (lc_nome_relatorio)
{
case "environments":
case "Areas":
case "Steps":
case "Processos_de_Fabricacao"
case "Sectors":
case "Sub_Setores"
case "Bancos_Compensacao_Nacional"
case "Contas_Bancarias"
case "Operadoras_de_Cartao"
case "Plano_de_Contas_Financeiro"
case "Unidades_de_Medidas"
case "Tipos_de_Estruturas"
case "Produtos_Servicos"
case "Grupos_de_Estoque_Servicos"
case "_Sintetico Structures":
case "Tipos_Produtos_Servicos"
case "CFOP"
case "NCM"
case "Especie_de_documentos"
case "Checks":
case "Produtos_Servicos_descricao_Grupo_Todos"
case "Grupos_de_Estoque_Servicos_Produtos"
case "Grupos_de_Estoque_Servicos_Servicos"
case "Tipos_Produtos_Servicos_Produtos"
case "Tipos_Produtos_Servicos_Servicos"
case "Estruturas_Analitico"
case "Estruturas_Sintetico"
case "Contas_a_Pagar_Cadastradas"
report ["@ start_date"] = lc_parametro1;
report ["@ end_date"] = lc_parametro2;
break;
}
report.Load (AppDirectory + "\ \" + + lc_nome_relatorio. "MRT");
report.Render ();
= StiWebViewer1.Report report;
}
}
}
HELP - REPORT ERROR
Hello,
Please try to set the RenderMode property to "AjaxWithCache" for StiWebViewer1.
Thank you.
Please try to set the RenderMode property to "AjaxWithCache" for StiWebViewer1.
Thank you.
HELP - REPORT ERROR
I did not understand can you explain?
HELP - REPORT ERROR
The following error occurred:
lost the reference to my report.
Could not find file 'E: \ My Documents \ Flex Builder Projects \ Patmos \ Project \ CSharp \ WebApplication1 \ Reports \. Mrt'.
i add in my asp.
Gerador de Relatório
HELP :biggrin:
lost the reference to my report.
Could not find file 'E: \ My Documents \ Flex Builder Projects \ Patmos \ Project \ CSharp \ WebApplication1 \ Reports \. Mrt'.
i add in my asp.
Gerador de Relatório
HELP :biggrin:
HELP - REPORT ERROR
Hello,
Please send us a sample project which reproduces the issue for analysis.
Thank you.
Please send us a sample project which reproduces the issue for analysis.
Thank you.