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

Reply To: C1DataGrid Column Width

$
0
0

Hello,

Please refer to the attached sample and the screenshot depicting the behaviour at my end.
I have set the DataGrid’s "ColumnHeaderHeight" and the TextBlock’s "TextWrapping" properties :

 <c1:C1DataGrid  ColumnHeaderHeight="45"
            x:Name="Grid"
            ItemsSource="{Binding Eintraege}"
            HeadersVisibility="None" Margin="0,50,0,0">
 Private Sub Grid_LoadedCellPresenter(sender As Object, e As DataGridCellEventArgs)
        If TypeOf e.Cell.Presenter.Content Is DataGridColumnHeaderPresenter Then
            Dim cc = TryCast(e.Cell.Presenter.Content, ContentControl)
            Dim tb = TryCast(cc.Content, TextBlock)
            tb.TextAlignment = TextAlignment.Center
            tb.TextWrapping = TextWrapping.Wrap
        End If
End Sub

Hope it helps.

Regards,
Reema


Reply To: C1PdfViewer fails to print to a local printer

$
0
0

Hello MaBrown,

There are no known issues regarding HP laptops. Could you please test this issue on a non-HP ProBook laptop and let me know if the issue is observed on it. Also, please check with the latest C1PdfViewer build 3.0.20141.387 which can be downloaded from this link.

If the issue does not work with this build also, please attach a small sample which we can use to replicate the issue.

Thanks,
Richa

Reply To: how to set C1AutoComplete order inside C1Dialog

$
0
0

Hello,

The development team has fixed this issue for the next release of Studio for ASP.NET Wijmo. However, the build is still under QA testing. We would let you know as soon as the build with the fix is available.

Thanks,
Manpreet Kaur

Reply To: Not getting Scroll event from C1Editor control

$
0
0

Hi,

I could replicate the issue using the latest build at my end. The 'Scroll’ event of C1XMLEditor does not get fired on moving the scrollbars. I have escalated this issue to the development team and would let you know as soon as there is any information from them.

Thanks and Regards,
Pragati Kaushik

Reply To: Unable to set Grid Height using Javascript in latest version

$
0
0

Hello,

The latest build of Spread i.e. Spread Studio for .Net v3 provides support for IE11. However, I am still able to replicate the issue at my end with IE11.

I could not find any support ticket related to the issue described above. Could you please share the support ticket ID, so that we can track the issue further or post a new ticket for this issue if required.

Thanks,
Manpreet Kaur

Reply To: DataView set to Form with 2 Vertical Columns

$
0
0

Hi Richard,

Setting the DataView property to Form displays the data in a convenient data entry form. Unfortunately, it is not possible to have two columns in one vertical line.

Thanks and Regards,
Pragati Kaushik

Reply To: datagrid row foreground coloring problem

$
0
0

Hello,

Apologies for the delay in response.

As informed earlier, the property Foreground of DataGridRowPresenter is controled by the grid, use properties RowForeground and AlternateRowForeground of C1DataGrid.

Therefore, for setting the styles on grid cells, you can handle the behaviour in the LoadedCellPresenter, as is described in my first response.

You can certainly set different foreground color for different rows in the grid in this event :

 void c1datagrid_LoadedCellPresenter(object sender, C1.Silverlight.DataGrid.DataGridCellEventArgs e)
        {
            if(e.Cell.Row.Index == 1)
                e.Cell.Presenter.Foreground = new SolidColorBrush(Colors.Green);
            if (e.Cell.Row.Index == 2)
                e.Cell.Presenter.Foreground = new SolidColorBrush(Colors.Yellow);
            if (e.Cell.Row.Index == 3)
                e.Cell.Presenter.Foreground = new SolidColorBrush(Colors.Red);
        }

Hope it clarifies.

Regards,
Reema

Reply To: Auto-search in C1TreeView


Reply To: C1DataGrid Excpetion

$
0
0

Hi.

The grouping is working -> OK

The only problem which I have is that I don´t have any sum. (In Groups and also in my SummaryRow)

And the problem why I describe you the last three posts!!!!!

With ReadOnly Default Propertys!!!

And with your sample.. It is only with AutoGenerateColumns but I don´t have this!

Regards

Reply To: Auto-search in C1TreeView

$
0
0

I know how to make search of node. I can make timer, collect in memory pressed symbols and locate appropriate nodes.
But its time and idea was to find component with this and some other functions.

Your TreeView has auto-search, but it’s functionality is curiously poor – only first symbol and no support for selected keyboard language.

How to bind data to a report or reportviewer

$
0
0

I have a usercontrol in my WPF application. the user fills in the various fields and clicks submit.
Ideally, when they click submit, the usercontrol must export itself and create a report ready to print.

but first i would like to know if it is possible to bind data to a reportviewer? if i have an object of a class (Student) with the fields in it (Name, Class, Age), can an instance of the object be set as data to bind to the reportviewer?

so in the usercontrol, the user fills in a name, age and the class the student is in. that populates the object type and that instance is sent to the next usercontrol, which has the c1reportviewer. i would like to display that data in the reportviewer, so the user can therefore print and/or save the data.

also, can i create a custom report (with my own template, header, footer, iamges, etc) and populate the report with the data so it can be printed?

how do i go about setting the data of the reportviewer?

Reply To: DataView set to Form with 2 Vertical Columns

$
0
0

Richard

If you’re using a bound data source try looking at the C1 Input Panel which would give you a two column layout.

Dom

Group RibbonMenuButtons horizonally

$
0
0

Hi all,

I’ve been struggling with this for a while now. I need to have 3 columns in a RibbonMenu like Excel has (please see screenshot attached.) I’ve tried setting SupportedGroupSizing to LargeImageOnly and modifying the LargeItemDropDownWidth property to no avail.

Am I missing something or can it please be added to the next release of C1Ribbon? It’s crucial for my application and one of the reasons we purchased the ComponentOne suite.

Thank you!

Reply To: Version conflict between c1Theme and c1Input

$
0
0

Hi Pragati,

For the sake of the community I will also copy my response to your response which was that your response makes sense however it missed my point in that the c1Live utility does not download a 2014 version of the c1Input control even though I’m licensed through 2014.v3

I have many of the other 2014 controls downloading via the c1Live utility, including the c1Theme control, which is causing the problem. I can’t seem to acquire a 2014 version of the c1Input control that is compatible with it.

The c1Live utility says that 4.0.20133.33332 is the most current version of the c1Input control.

Could you or Reeva or someone please attach a zip file with the 2014 version of the c1Input control?

Thank you,

Chris

Reply To: Version conflict between c1Theme and c1Input


Unable to resolve an error raised by SectionReport.Run method

$
0
0

We have a .NET 2.0 app that we’ve recently converted from AR2 to AR7. This app generates PDF files as needed. This app works properly on development machines, meaning machines that have the AR7 development environment with license installed. We cannot get this app to generate a PDF file on a machine that does not have the AR7 development environment installed. The SectionReport.Run method raises the following error:

Outer exception: Exception has been thrown by the target of an invocation
Inner exception: Object reference not set to an instance of an object

Our assumption is that a runtime object, DLL for example, is missing, but we can’t determine what. Any suggestions? Code snippet (VB.NET):

Private rpt As GrapeCity.ActiveReports.SectionReport
rpt = New GrapeCity.ActiveReports.SectionReport

Dim xtr As New System.Xml.XmlTextReader(“”)
rpt.LoadLayout(xtr)
xtr.Close()

Dim AR7sqlString as String
AR7sqlString = “AR_CONSTRAINT_SUMMARY_REPORT < %P0 ||'/Line 1/Line 2/'%>, < %P1 ||'All'%>, < %P2 ||'All'%>, < %P3 ||'All'%>, < %P4 ||'All'%>, < %P5 ||'REPORTED'%>, < %P6 ||'2014/03/11 16:00:00'%>, < %P7 ||'2014/03/12 00:00:00'%>, < %P8 ||'#STOPS'%>, < %P9 ||'ALL'%>, < %P10 ||'All'%>, < %P11 ||'English'%>”

Dim ConnectionString as String = “

Dim ReportDataSource As GrapeCity.ActiveReports.Data.SqlDBDataSource
ReportDataSource = New GrapeCity.ActiveReports.Data.SqlDBDataSource(ConnectionString, AR7sqlString, 300)
rpt.DataSource = ReportDataSource
rpt.Name = “

rpt.Run(False) 'raises error

Reply To: Report generation fails with build 7.2.7725.

$
0
0

Hello Sergey,

Re-sending with new zip.

1) This zip is an example exporting to rtf that causes performance issues. It must have ran 40 seconds on my machine. On our test machines, exporting to rtf ran 10 minutes before we killed the app.

Steve

Reply To: Group RibbonMenuButtons horizonally

$
0
0

I think a combination of labels and gallery controls inside of a RibbonMenu would work… if I could make the gallery item’s expanded property work inside of the menu. Please see screenshot.

Reply To: RibbonGallery

$
0
0

I’d also like to see this feature very soon. Can we have an ETA?

Name Value Pairs in Parameters

$
0
0

I’m converting some existing reports to ActiveReports and the existing reports are using stored procedures.

The existing report shows a Company Name but passes in a Company Id. Can I do that in Active Reports? The only options I see in the report editor are for selecting one column to show up, not two.

Thanks

Viewing all 14170 articles
Browse latest View live


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