Quantcast
Channel: Our ComponentOne » All Posts
Viewing all 14170 articles
Browse latest View live

Reply To: C1DataTable Reject changes

$
0
0

should be fixed in the v1 release next week


Reply To: Report generation fails with build 7.2.7725.

$
0
0

Hello Sergey,

This is a different problem regarding exporting a report to tif.
Our test machines are getting an out of memory exception.
I tested on my development machine and the export worked, but Memory(Private working Set) when to 12,000,000 K ( I did it twice ).

Exporting to rtf was less than 450,000K.

In both cases, it was the same report.

The exception happened using 7.2.7895.0, the debug files were generated using 8.0 on my development machine.

2014-03-13T00:05:51.4057929Z 0001 C Launcher.cs:73|System.InvalidOperationException: Crash from main UI thread —> System.InvalidOperationException: Crash from main UI thread —> System.Exception: The size of the bitmap is too large that there is not enough memory in system can be used to draw the report on the bitmap.
at GrapeCity.ActiveReports.Export.Image.Tiff.Section.TiffExport.#mAd(SectionDocument document, String pageRange, Stream outputStream)
at GrapeCity.ActiveReports.Export.Image.Tiff.Section.TiffExport.Export(SectionDocument document, String filePath, String pageRange)
at ST.Protect.ReportDialogs.ExportReport.PromptAndExport[TExporter](String saveTitle, String saveFileFilter, SectionDocument report)

Regards,
Steve

Frozen properties don't seem to work in RT/XAML

$
0
0

I have a C1FlexGrid in Xaml, using C# as code-behind.

It is dynamically generated, meaning that the columns are read from the rows I send it. Generally all working OK. I can format columns hidden, give background colors, formatting, all that works fine.

I’m trying to freeze the first column, but I can’t make it stick. I’m doing this line of code in a routine called from OnPageLoaded (and subsequently called every time the grid is loaded with a new data set):

forecastGrid.Columns.Frozen = 2;

In the debugger I can see the property takes the value I give it, but the columns are never frozen, they scroll off the left as if I had made no attempt.

Have I done something out of sequence? The property seems very straightforward in the docs.

Also, I found in the docs the following two properties which might be helpful, but these properties don’t seem to exist:

http://helpcentral.componentone.com/nethelp/FlexGridWinRT/#!XMLDocuments/FlexGridRef/html/P_C1_Xaml_FlexGrid_C1FlexGrid_FrozenRows.htm

http://helpcentral.componentone.com/nethelp/FlexGridWinRT/#!XMLDocuments/FlexGridRef/html/P_C1_Xaml_FlexGrid_C1FlexGrid_FrozenColumns.htm

How do I install the version 7.3?

$
0
0

We have Version 7 of Spread ASP.Net. How to I get the newly released version 7.3. Do I download and install a new trial and then license with my existing codes?
Thanks, Ed

C1DataGrid SummaryRow – skip rows

$
0
0

I’m currently using a summary row in my datagrid which is working fine.

<c1:C1DataGrid.BottomRows >
                    <c1:DataGridSummaryRow />
                </c1:C1DataGrid.BottomRows>
Dim dga As New DataGridAggregatesCollection
            Dim sum As New DataGridAggregateSum
            sum.ResultTemplate = DataGridAggregate.GetDataTemplateFromString("{0}")
            dga.Add(sum)
            DataGridAggregate.SetAggregateFunctions(reportGrid.Columns(6), dga)
            DataGridAggregate.SetAggregateFunctions(reportGrid.Columns(7), dga)

My question is, can I skip rows from being counted?

My grid displays certain rows that I don’t want summed up. Is it possible to skip these?

Any help would be greatly appreciated.

Canvas object not found

$
0
0

I am new to Active reports. I am converting old report written in active reports 2.0 to Active reports 7.0. I am not able to get the Canvas object in AR 7.0.
I checked in GrapeCity.ActiveReports.Document.v7 Assembly but did not found any Canvas object. Could you please let me how can I define Canvas object.
I can see from old post that people are using Me.Canvas .. but I am not getting it. Am I missing some thing?
I am trying to convert Canvas.DrawText function.

Thanks

c1RichTextBox

$
0
0

I want to display a caret in the end of text. How ever my RichTextBox is read-only. Is it possible with this component?. I am developing an application for Windows Phone 8.

PlotArea issues

$
0
0

First, I was wondering the status of the related bug here:

http://our.componentone.com/groups/topic/custom-chart-painting-with-multiple-panes/#post-604375

Second, I’ve been having problems with y-axis titles not showing up for the top-most plot area when explicitly defining a PlotArea. I attempted to modify the sample here but eventually just started over in VB to make it clean:

http://our.componentone.com/groups/topic/how-to-dynamically-modify-the-plotarea/

There should be multiple plot areas, alternating in color. However, it doesn’t work and I’ve tried several variations. Because I want to set the Background property, it seems I have to explicitly define a PlotArea and things fall apart there. Everything must be done in code, not XAML.


Flex grid Subtotals

$
0
0

I am creating sub total on a flex-grid.

i.e. _grid.Subtotal(AggregateEnum.Sum, -1, -1, _colAmount, "Total");

Here I have currency displayed in _colAmount column. (For one instance one currency).
Values like £150, £455,£100 or $122,£100 etc…

But the subtotal only works for when £ is presented. Can anyone let me know what should I need to set as Format for the _colAmount in order to subtotals to work with any currency

Thanks

Reply To: C1DataTable Reject changes

Flexgrid Export to Excel errors out as row count exceeds 65,000

$
0
0

Hi All,

While exporting data from flex grid to excel using MyC1FlexGrid.SaveExcel("C:\MyC1Data.xlsx","sheet1″,C1.Win.C1FlexGrid.FileFlags.IncludeFixedCells) method we are getting argument exception saying "Maximum number of rows exceeded (256,65)". We are using 4.6.20111.602 license version of flex, windows 7 OS.

Any help regarding this will be appreciated..

Thanks

SetDataBinding removes all content from the filterbar

$
0
0

Hi All,

I’ve just downloaded version 4.0.20133.61342 of the C1TrueDataGrid and noticed that SetDataBinding doesn’t work anymore the way it did.

We use the CSLA Framework in our application and handle the filtering ourselves. If the user presses ENTER in the filterbar, we get the content of the filterbar from the grid, load a new collection from the application server, and bind it with the SetDataBinding method to the grid.

In the new version of the grid the SetDataBinding method now clears the complete filterbar. All filter criteria entered by the user is gone. This is very unfortunate, because the user can’t see anymore, how he has filtered the grid and he has to enter all filter criteria again, if he wants to make small adjustments. Sorry, this breaks completely our applications.

Could you please have a look into this? Thank you very much for help.

Greetings,
Christian

Reply To: How to bind x,y,z data to c1chart3d ?

$
0
0

Hi Reema,

Thanks for your reply.

Can you please share some idea to convert xyz coordinates to GridDataSeries.

For eg x = 2, y = 5, z = 10, how do I converts it into GridDataSeries ?

Regards
Rakesh

Reply To: C1DataGrid SummaryRow – skip rows

$
0
0

Hello Jason,

As such, you cannot skip some rows from the DataGrid Column before calculating the Sum for the respective grid Column. It includes every row within the Column.

Here is a workaround you may use to implement the same :
1) Lets say your DataGrid1 is bound to an Observablecollection of Type class Person >> person1.
2) Now create a second collection >> person2, consisting of those records which you want to include in the sum for the DataGrid1 Column 2.
3) Bind person2 to a DataGrid2 whose Visibility is set to "Collapsed".
4) Apply the sum aggregate on DataGrid2 Column2 from which you get the resquired result.
5) Add a BottomRow in DataGrid1 and assign the value calculated in Step4 to this rows Cell2.

        'Calculate the resultant from the DataGrid2
        'column2 >> "Age" Column
        Dim dac As New DataGridAggregatesCollection
        Dim dagsum As New DataGridAggregateSum
        dagsum.ResultTemplate = DataGridAggregateAvg.GetDataTemplateFromString("Sum Age : {0}")
        dac.Add(dagsum)
        DataGridAggregateSum.SetAggregateFunctions(datagrid2.Columns(col), dac)
        result = Convert.ToInt32(dac(0).GetResultText(datagrid2.Rows, datagrid2.Columns(2), False))

        'Add a Row in DataGrid1 and assign this value 
        'in its second cell
        Dim row As New C1.Silverlight.DataGrid.DataGridRow
        datagrid.Rows.BottomRows.Add(row)
        person.Add(New Person() With {.Name = "", .Address = "", .i = result})
        datagrid.DataContext = person

Refer to the attached sample implementing the same.

Hope it helps.

Regards,
Reema

Reply To: Out of Memory Exception in Active Analysis


Reply To: Windows UI automation for FlexGrid

$
0
0

Hello Nansalmaa,

We need some regarding the issue. According to microsoft, UiSpy is now obsolete. Could you please let me know if there is any specific reason to use it. I would recommend you to use CodedUI as C1FlexGrid officially supports Coded UI. Please refer to

Thanks,
Richa

Show body data in the header on CPL report

$
0
0

I have a table of data in the body of my report and if I put a textbox on the page with this code in it, the value shows up properly:

=First(Fields!FirstName.Value, "MyDataSet")

However, if I put this code in the page header, it is empty. How can I get the header to access the page data?

Install Active reports 6

$
0
0

Hi,

1. I have Active reports 8 installed in my pc which also has visual studio 2010.
Due to client requirement I need to install Active report 6 . Can I have both version in my pc or I have to uninstall activer report 8 to install version 6. Is there any issue if i have both version in same pc.

2. Do I need to add any addins to configure Active report 6 with visual studio 2010

Thanks
Raja

Reply To: Version conflict between c1Theme and c1Input

Getting the Logged in user as a parameter

$
0
0

In a report there is a way to get the ID of the current user with this function:

=Code.UserContext.GetValue("UserId")

This is great for queries, but makes it hard to preview a report. I was attempting to make a report parameter that has this expression, so in preview it will return nothing and the developer can enter an id, but when deployed to ARS it will get a value and filter the report correctly.

Has anyone gotten this to work? The goal is to be able to have reports using this technique to work for in development and production modes.

Viewing all 14170 articles
Browse latest View live