ReportName
ReportName
Hi there,
I'm still using the trial version but as of today we purchased the full version.
I'm trying to find the report name in the array.
But all the value says is: "Report".
Is there a way to alter this value directly by permitting a user to enter a name under which it should be saved.
I'm saving everything into a database, so I am not working with files or anything.
When I use the following
StiReport report = e.report;
ReportName = report.ReportName //Results in "Report"
Thank you
I'm still using the trial version but as of today we purchased the full version.
I'm trying to find the report name in the array.
But all the value says is: "Report".
Is there a way to alter this value directly by permitting a user to enter a name under which it should be saved.
I'm saving everything into a database, so I am not working with files or anything.
When I use the following
StiReport report = e.report;
ReportName = report.ReportName //Results in "Report"
Thank you
ReportName
Hello,
Sorry i don't understand you request. Can you provide more details in which moment you want change ReportName?
Thank you.
Sorry i don't understand you request. Can you provide more details in which moment you want change ReportName?
Thank you.
ReportName
I have this code for saving the data into the data base:
protected void SaveReport(object sender, Stimulsoft.Report.Web.StiWebDesigner.StiSaveReportEventArgs e)
{
StiReport report = e.Report;
String ReportId = Request.QueryString["reportId"];
String ReportName = report.ReportName; // This return "Report"
String query = "UPDATE DWReports SET " +
"ReportTemplate = @ReportTemplate, " +
"ReportName = @ReportName " +
"WHERE ReportId = @ReportId";
System.IO.MemoryStream stream = new System.IO.MemoryStream();
report.Save(stream);
byte[] arrImage = stream.GetBuffer();
SqlParameter[] parameters = {
new SqlParameter("@ReportTemplate", arrImage),
new SqlParameter("@ReportId", ReportId),
new SqlParameter("@ReportName", ReportName)
};
try
{
//Execution of Query
}
finally
{
stream.Close();
}
}
What i want is the possibillity to enter a user-defined name for ReportName.
The situation now is that alle the ReportName are named "Report"
Thank You
protected void SaveReport(object sender, Stimulsoft.Report.Web.StiWebDesigner.StiSaveReportEventArgs e)
{
StiReport report = e.Report;
String ReportId = Request.QueryString["reportId"];
String ReportName = report.ReportName; // This return "Report"
String query = "UPDATE DWReports SET " +
"ReportTemplate = @ReportTemplate, " +
"ReportName = @ReportName " +
"WHERE ReportId = @ReportId";
System.IO.MemoryStream stream = new System.IO.MemoryStream();
report.Save(stream);
byte[] arrImage = stream.GetBuffer();
SqlParameter[] parameters = {
new SqlParameter("@ReportTemplate", arrImage),
new SqlParameter("@ReportId", ReportId),
new SqlParameter("@ReportName", ReportName)
};
try
{
//Execution of Query
}
finally
{
stream.Close();
}
}
What i want is the possibillity to enter a user-defined name for ReportName.
The situation now is that alle the ReportName are named "Report"
Thank You
ReportName
Hello,
You can edit ReportName and ReportAlias here (please see the screenshot) and from code before design report.
Also you can use ReportFile and ReportGuid properties to determine the unique key for save the report.
Thank you.
You can edit ReportName and ReportAlias here (please see the screenshot) and from code before design report.
Also you can use ReportFile and ReportGuid properties to determine the unique key for save the report.
Thank you.
- Attachments
-
- 485.report.png (25.12 KiB) Viewed 2588 times
ReportName
Thank you.
I was looking at the wrong section. that was the page
I was looking at the wrong section. that was the page

ReportName
Ok!
ReportName
Let us know if you need any additional help.
Thank you.
Thank you.