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

Reply To: Forum changes are not for the best

$
0
0

Plenty of people play Standard, and GGG has an obligation not to continue screwing them over with this legacy business. Legacy gear is bad enough, now we have legacy game mechanics. Where will it end? How much bigger of a cesspool will the mode be in one year?

Thanks
Social Club Insurance


Reply To: ColumnFilterEditor Styling

$
0
0

Hello Johannes,

Creating the style in the Xaml :

<UserControl.Resources>
        <Style TargetType="c1:ColumnFilterEditor" x:Key="ColumnFilterEditorStyle">
            <Setter Property="Background" Value="Green" />
            <Setter Property="BorderBrush" Value="Black" />
            <Setter Property="BorderThickness" Value="5" />
        </Style>
</UserControl.Resources>

and then assigning the same in the code behind within the EditorOpened event works correctly :

  private void C1FlexGridFilter_EditorOpened_1(object sender, EventArgs e)
        {
            C1FlexGridFilter cfe = sender as C1FlexGridFilter;
            if (cfe != null && cfe.Editor != null)
            {
                cfe.Editor.ClearValue(ColumnFilterEditor.BackgroundProperty);
                cfe.Editor.ClearValue(ColumnFilterEditor.BorderBrushProperty);
                cfe.Editor.ClearValue(ColumnFilterEditor.BorderThicknessProperty);
                cfe.Editor.Style = ((Style)this.Resources["ColumnFilterEditorStyle"]);
            }
        }

But if the style to the ColumnFilterEditor is applied in Xaml only, then the same does not works and results in an NullReferenceException :

<c1:C1FlexGridFilterService.FlexGridFilter>
                <c1:C1FlexGridFilter EditorOpened="C1FlexGridFilter_EditorOpened_1">
                    <c1:C1FlexGridFilter.Editor>
                         <c1:ColumnFilterEditor Style="{StaticResource ColumnFilterEditorStyle}"/>
                    </c1:C1FlexGridFilter.Editor>
                </c1:C1FlexGridFilter>
 </c1:C1FlexGridFilterService.FlexGridFilter>

Reason being the FilterDropDown is not rendered till the time it is opened and the EditorOpened event is raised. Upon styling the FilterDropDown in Xaml it results in an NullReferenceException because the Filter is not yet created.

Let me know if I missed something here.

Regards,
Reema

Reply To: Problem With RichTextBox GrapeCity Control (Images are not aligned correct)

$
0
0

Hi,

Thanks for sharing your workaround. It may help the other users over the community here.

Best Regards,
Pragati Kaushik

Reply To: C1DataGrid Group Content

Reply To: Grid' DataSource property doesn't set column widths

$
0
0

Hi,

For your convenience, I even checked the behavior with the above mentioned 4.6.20131.765 build of C1FlexGrid and was still not able to replicate the problem. You are requested to share a small sample application demonstrating the behavior or you can just modify the above attached sample application and send back to me so that I can try reproducing the problem at my end and assist you further accordingly.

Regarding upgrading a project to the latest build, please:
1. remove all the current assemblies from the 'References’ of your project and add the references to the latest build dlls of C1FlexGrid.
2. change the build version of C1FlexGrid in the licenses.licx file with 2/4.6.20133.800 so as to match the entries.
3. rebuild your project.
and, it should run without issues.

Thanks and Regards,
Pragati Kaushik

Reply To: InputGroupHeader multicolor text property?? Feature request

$
0
0

Tnx a lot ! I think this will solve our problems.

Regards,
Alex

Reply To: Negative values in stacked charts

$
0
0

Hi Midhun P,

I would like to inform you that any license key subscription is valid for four trimesters only. For instance if you buy any license key of 2011-V2, then you can use this serial key for controls of version 2011-V2, 2011-V3, 2012-V1, and 2012-V2. If you use this serial key for control of version 2012-V3 or later, then the serial key would expire and nag screen would be received on executing the application with ComponentOne controls.

But please note any fixes or enhancements are done in the latest builds only. Since you want to use 2013-V3 build (for which your license is not valid), you will need to upgrade your subscription. Please contact our sales department for this.

Thanks and Regards,
Pragati Kaushik

Reply To: Incomplete render?

$
0
0

Hello Alex ,

Please try to use the PDF Rendering extension instead of PDF export filer.
Here is a sample of code:

            var report = new GrapeCity.ActiveReports.PageReport();   //load the report layout
            report.Load(new System.IO.FileInfo(Server.MapPath("~/Reports/TrendedProductivityReport.rdlx")));
            report.Report.DataSources[0].ConnectionProperties.ConnectString = ConfigurationManager.ConnectionStrings["LPMS"].ConnectionString;
            report.Report.DataSets[0].Query.QueryParameters[0].Value = requestToken.AcctountGuid.ToString();
            report.Report.DataSets[0].Query.QueryParameters[1].Value = requestToken.UserGuid.ToString();
            var pagedocument = new PageDocument(report);
            var pdfExport = new GrapeCity.ActiveReports.Export.Pdf.Page.PdfRenderingExtension();
            var fspo = new GrapeCity.ActiveReports.Rendering.IO.FileStreamProvider(new DirectoryInfo(Server.MapPath("~/Temp/")), token.ToString());
            pagedocument.Render(pdfExport, fspo);

Thanks,
Sergey Romanov.


Reply To: ComponentOne components are not working anymore after update March 2014

$
0
0

I had issues with March 2014 update and I had to re-write a new solution and re-introduce all my code and screens. After hours I got a successful build but when running all my screens with C1 controls fail. Ex: "'C1.LightSwitch.RichTextBox:C1RichTextBox’. Reason : 'NoItemMatched’"

Reply To: RTFExport speed up

$
0
0

Hello ,

RtfExport filter has only 2 public properties, both are set to False by default and
i think they can’t speed up the rendering in enabled state.
Could you please send me a sample of project with report?

Thanks,
Sergey Romanov.

Reply To: C1Ribbon crash when C1ThemeController.ApplicationTheme set

$
0
0

Hi,

Sorry, I don’t understand why you use your own method to set
theme for form’s controls, I think you can use simpler solution:

1) As I have understood your application has a base form for
all application’s forms, this form contains C1themeController.

2) For each form set theme to default for all controls on the form, to do this:
-) open form designer
-) right click on C1ThemeController and select Set themes…
-) In dialog press "All to default" and set C1ThemeController theme to (default)

3) Now you can set C1ThemeController.ApplicationTheme to
change theme for all forms in your application.

I have attached simple demo application, hope this helps.

change line style on Chart field

$
0
0

is it possible to change line style on a chart field in C1Reports?

in particular I need to set the SymbolStyle.Shape property to "none" … I’ve found the method using c1Chart in vb.net but not in C1Report designer… any ideas?

thanks in advance

install info
C1ReportDesigner Application (32 bit mode):
C1ReportDesigner, Version 4.6.20133.54655
C1.C1Report.4, Version 4.6.20133.54655
C1.C1Report.4.Design, Version 4.6.20133.54655
C1.C1Report.CustomFields.4, Version 4.6.20133.54655
C1.Win.C1BarCode.4, Version 4.0.20131.61
C1.Win.C1Chart.4, Version 4.0.20131.23030
C1.Win.C1Command.4, Version 4.0.20123.19542
C1.Win.C1Report.4, Version 4.6.20133.54655
C1.Win.C1ReportDesigner.4, Version 4.6.20133.54655
C1.Win.C1Ribbon.4, Version 4.0.20131.435
C1.Win.C1SuperTooltip.4, Version 4.0.20131.121

Reply To: Change Unbound Column Value in Bound Grid

$
0
0

Hi Josh,

Since you want to change the value of the currently selected row in the newly added column 'Pref’ in your grid, I would suggest you to use the C1TrueDBGrid’s RowColChange event which actually occurs when the focus moves to a different cell in the grid. Here is the code snippet for accomplishing the same:

 
private void c1TrueDBGrid1_RowColChange(object sender, RowColChangeEventArgs e)
        {
            if(c1TrueDBGrid1.Row!=-1)
            this.c1TrueDBGrid1[c1TrueDBGrid1.Row, "Pref"] = SomeValue;
        }

You may also want to refer to the attached sample application implementing the same.
Hope it helps.

Thanks and Regards,
Pragati Kaushik

Reply To: Adding and binding column in C1TrueDBGrid

Reply To: On Shelf Change Events Handling

$
0
0

Hello Ladislav,

As of now, there is no event which fires when any attribute is drag and dropped on the shelf. Hence, we have posted this as enhancement request (ID :172669) to the development team.

Regards


Reply To: C1DataTable Reject changes

$
0
0

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 one

Can you confirm that?

C1DataGrid Group Question

$
0
0

Hi.

Is that possible like in my picture?

Regards

Reply To: Printing is slow in Active Reports 7 SP 2

$
0
0

A couple of things here:

First, I would encourage anybody considering Active Reports 7 to NOT take Service Pack 2. I don’t know why printing is slow, and I am having problems figuring anything out. If you upgrade to Service Pack 2, and it is slow, good luck trying to fix it.

Second, I would encourage anybody who will need to use Remote Desktop/Terminal Server and print reports in Active Reports to consider another option. Only Active Reports is slow printing in that environment for us. It is painfully slow. Everything else prints fine. Consider using another report option like Crystal Reports.

I will update this issue if I can figure anything out, but I am not hopeful at this point.

Reply To: MICR Font Rendering

$
0
0

Gherrell,

I am a Technical Support Representative with Troy Group. I do want to say that I have successfully set up several customers on the .NET framework now. The main issue with .NET is that it doesn’t allow you to select external fonts directly (even when using external font support files in the driver, aka PCM files). What you need to do is select a Truetype font and then instruct the driver to remove this font and replace it with a PCL Escape sequence. This is called font substitution. At Troy we have a couple of methods for doing this. 1) It can be done by using the Troy Port Monitor, or 2) It can be done within the Universal PCL 5 driver’s font substitution feature.

Rasterization is usually a sign of another issue. For example, if you send a PDF document to the printer, font substution cannot occur because the fonts are converted into images and the printer driver can no longer find the font to substitute in the PCL Escape Sequence. There is also a setting in the Printing Preferences under the Advanced Tab>Document Options>Printer Features>Send True Type as Bitmap, and this can cause issues with the font being converted into raster data before it passes through the printer driver. Setting this to 'disable’ can fix some issues with rasterization. Most commonly, rasterization is caused by the job being processed as some kind of image format (BMP, JPEG, PDF, etc.).

Right Click on Flexgrid option

$
0
0

Hi,
I am using the Flexgrid tool of Component One in my project [to build a front end application]. In the earlier version of component One purchased, right clicking a particular cell in the flex grid displayed a customized menu [a menu we had created using VB.net]. Now, while using the newer version of Component One [Studio for Winforms], this right click mouse operation does not display that customized menu. It just displays the default menu [the menu with cut, copy paste etc. options]. Could anyone please give me a solution for this bug.
Thank You

Viewing all 14170 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>