Is it possible when scheduling a report to include the date that the report was run or produced in the .pdf that is produced and attached to the email? The general case is when our customer receives the emails with our report attached, they like to save them to a common directory for later reference. Currently, they must remember to rename them every time with the date of the report, which is somewhat annoying and slightly error prone. Ideally, they would like to have the name of the report reflect its execution time. Is this possible, and if so, how? Please feel free to point me to the appropriate documentation if I have missed the reference to this feature anywhere.
Report Names – Date of Report
Reply To: C1DataTable Reject changes
@C1_IrinaP said:
looks like it doesn’t work for columns which have space in the name:table.Columns.Add("extra_long_col" + rand.Next(), typeof(string)); // works for this column table.Columns.Add("extra long col" + rand.Next(), typeof(string)); // doesn’t work for this oneCan you confirm that?
That actually does seems to be the issue.
Is there a fix for that? (other than not use column names with strings)
Summation in Data from Stored Procedures
When attempting to total data in ARS 8 from a Stored Procedure, for whatever value is being totaled, the error always appears "Invalid column name '
In the example below, the column name I am using is "solids_spread".
Unable to execute native query. Errors: Invalid column name 'solids_spread’.;
Stack Trace:
at ActiveReports.Server.Runner.Executing.DDR.DDRRenderer.DoRender(IReportExtension`1 extensionInstance, ResourceStreamProvider provider, List`1 taskParameters, String requestId)
at ActiveReports.Server.Runner.Executing.DDR.DDRRenderer.RenderImpl(ResourceStreamProvider provider, String extension, List`1 taskParameters, String requestId)
at ActiveReports.Server.Runner.Executing.DDR.DDRRenderer.Render(String requestId)
at ActiveReports.Server.Runner.Executing.DDR.DDRRenderer.Render(String requestId)
at #1Lt.#8Lt.#vGT()
at #1Lt.#kGT.#dTj()
at #1Lt.#0Lt.#YNt()
Inner Exception: nullActiveReports.DataModel.SemanticModeling.Data.SemanticException: Unable to execute native query. Errors: Invalid column name 'solids_spread’.;
at #UwA.#uue.ExecuteReader(IDbConnection connection, IDbTransaction transaction, #PTe expressionEvaluatorFactory)
at #2wA.#9Ve.#U.#aWe.#Kcf(#bVe recordManager, #PTe expressionEvaluatorFactory)
at #2wA.#9Ve.#Kcf(#dWe[] commands, #PTe expressionEvaluatorFactory)
at #2wA.#1Ve.#aBA()
at GrapeCity.ActiveReports.ReportsCore.Rendering.ReportProcessor.#dEf(ReportDataDefinition reportDataDef)
at GrapeCity.ActiveReports.ReportsCore.Rendering.ReportProcessor.#Tol()
at GrapeCity.ActiveReports.ReportsCore.Rendering.ReportProcessor.#fn(Boolean forceDataRefresh, Boolean forceParameterDataRefresh)
at GrapeCity.ActiveReports.Document.PageDocument.#0Kf(Boolean forceDataRefresh, Boolean forceParameterDataRefresh)
Reply To: Export PageReport with FormattedText to pdf
Specifically, style settings regarding font face and size within a "div" or an "ol" block are lost. I’ve changed the "div" to "p" which maintains the formatting, but adds spacing that I have to account for. I don’t have a work around for the list.
I have tried to install the latest build but it failes with multiple errors. Example: "Detection of product '{9980E2EB-C925-4EE4-8B46-68F565C082AC}’, feature 'Feature_Product’, component '{6E16DA68-A62F-4888-95AC-7A992CE583C3}’ failed. The resource 'HKEY_CURRENT_USER\SOFTWARE\GrapeCity\ActiveReports Developer\’ does not exist."
Reply To: ComponentOne components are not working anymore after update March 2014
When I run bulb-changer after the March update, I get the message:
The Solution does not contain any LightSwitch projects. No changes were made.
Reply To: ComponentOne components are not working anymore after update March 2014
y issue got solved by C1: I had to add these kind of lines in config.xml
Re the bulbchanger: I have the same issue and cannot run in release mode as it complains about missing dlls.
Passing meta-data to unbound section report?
I’m new to ActiveReports. I have an unbound section report in a C# MVC web project. At the top of the page, I want to display the sort option the user specified before running it (i.e. Last Name, Login Date, etc.). What’s the best way to pass this meta-data to the report so I can have the text box update in the page header section? Would it be a parameter? Can I use the viewbag? If you could show a simple code example, I’d appreciate it!
Thanks,
Shane
Reply To: C1DataTable Reject changes
I asked FlexGrid developers about that, don’t have any answer yet
Reply To: DataGrid refresh data problem
Hello Roberta,
Kindly refer to the following blog post discussing similar scenario :
Hope it helps.
Regards,
Reema
Reply To: Obtain elements of Page Report
Hello,
((GrapeCity.ActiveReports.PageReportModel.TextBox RIR PageReport) (report)) .Report.PageHeader.ReportItems[ "TextBox12 " ] ) .Value = "New Value";
is the space in the item index "TextBox12 " (compare: "TextBox12″) in your code and intended? That might be the source of the problem.
Tim
Reply To: C1Ribbon crash when C1ThemeController.ApplicationTheme set
First of all, for C1_AndreyD, thanks for the new version of C1Input.
Second, for alexanderm, my own method does exactly what the designer does: it calls SetTheme for all controls that need to be themed (these calls can be found in .Designer.cs). The advantage of my way is that it detect components that are invisible for the designer, for example components added in code or if components are wrapped inside my own custom controls.
How ever I use the themes, the performance issue is real and very easy to test. I tried to add 20 C1NumericEdits to a form and set the themes in designer. Performance implication is the same, the form takes about 2 seconds to load. It doesnt affect many forms in my app, but if there is anything you can do to improve performance of C1ThemeController.SetTheme() method it would be appreciated and probably useful for others too.
But anyway, thanks for the help. I can manage now.
Reply To: rtf with page breaks rendering error in C1PrintDocument
Hi Chris,
The issue is improved in C1Report build 4.6.20141.54715 which is now available at:
http://prerelease.componentone.com/dotnet20/c1report/2014-t1/C1Report.2_2.6.20141.54715.zip
http://prerelease.componentone.com/dotnet40/c1report/2014-t1/C1Report.4_4.6.20141.54715.zip
Thanks and Regards,
Pragati Kaushik
Reply To: How to use studio for wpf themes with ribbon control
Hello Dom,
>> Is it likely that support for theming will be available for this
The issue is currently with the development team and they are looking into it.
I will update you as soon as I get any update from their side regarding the same.
>> if not that full support for a functional ribbon will be added to what exists in the c1toolbar control for wpf
The development team would be in a better situation to answer this.
Let them answer the above one first and then we could probably ask them about this new request.
Regards,
Reema
Reply To: Cannot Install
Hello,
I would suggest you to please make sure that you have enough disk space available for Spread .Net to install. Please run the web installer and let us know in case you continue facing the same issue.
http://www.componentone.com/Downloads/Download/?productID=590
Thanks.
Deepak Sharma
Reply To: Gauge/Speedometer Chart
Hello,
I would suggest you to please go through following link in help file which talks about Polar plot types.
http://helpcentral.componentone.com/NetHelp/SpreadNet7/WF/webframe.html#spwin-plots-polar.html
Thanks,
Deepak Sharma
Reply To: change line style on Chart field
Hi,
The Chart field in C1Reports is actually a wrapper for a C1Chart control, which provides all the charting services and has an extremely rich object model of its own. If you want to customize the Chart field even further, you can use the ChartControl property to access the inner C1Chart object using scripts.
For example, the Chart field does not have a property to control the shape of the data point symbol. But the C1Chart control does, and you can access this property through the ChartControl property (chartField.ChartControl.ChartGroups[0].ChartData.SeriesList[1].SymbolStyle.Shape).
In case you want to make this property appear in the property grid of the C1ReportDesigner itself, you need to make a few changes in the source code of the ‘CustomFields.dll.’ Please refer to the following blog article which provides useful information on adding a property for chart field in the designer:
http://our.componentone.com/2012/05/08/stacked-charts-in-c1reports/
Note: The blog is about adding 'Stacked’ property. However, the same approach can be used for adding other properties as well.
Thanks and Regards,
Pragati Kaushik
Reply To: how to set font family and increase font size of data in the report viewer grid
Hi,
I need to create a *.ddacube file from sql server database tables.
In the links provided you are already created NwindLocalCube.ddacube and saved in a location.
myDS.LocalCubeFile = @"C:\Documents and Settings\All Users\Documents\GrapeCity\ActiveAnalysis\DataSources\NWind\NwindLocalCube.ddacube";
I also need to create a local cube file.
what technology is used to create that file.
Can you please give a sample.
I have checked all links in http://helpcentral.componentone.com/
Could not find it.
In this link
http://helpcentral.componentone.com/nethelp/ActiveAnalysis2WebHelp/CreateALocalCube.html
//Create a FileInfo object with the path to your new local cube. System.IO.FileInfo myLocalCube = new System.IO.FileInfo (Application.StartupPath + "\\myLocalCube.ddacube"); //Save the local cube. this.rdDataSource1.SaveLocalCube(myLocalCube, GrapeCity.ActiveAnalysis.DataSources.SaveLocalCubeOptions.None);
this code is used to save local cube.
Here myLocalCube.ddacube is already created cube file ?
Auto-search in C1TreeView
Hello!
Question:
Is it possible to locate items in TreeView by multiple symbols like in Windows Explorer?
Problem:
I have items with english and russian headers. But auto-search locating item with header begining on english symbol on pressed key in despite of current keyboard layout.
Thus I can’t search items with russian headers.
Reply To: Summation in Data from Stored Procedures
Hi,
Can you please share the SQL Statement that gets run for the report run on the SQL Server? You can run the SQL Profiler to get the statement when the report is run.
Also, please confirm that the stored procedure reports a resultset with the "solids_spread" as a field?
Reply To: C1CompositeChart with one DateTime X-Axis value displays no/very skinny column
Hello,
The development team is working on this issue but as of now, I do not have any ETA for same.
Regards