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

Reply To: how to lock cells but allow column width change

$
0
0

Thanks for that,
The blog shows how to resize a worksheets columns which is my fall back position. Is there anyway to lock a sheet and still allow the users to resize columns?

If I just to the auto resize when the worksheet is created it will only resize to the column headers. If the user wants to put more text into the cell then they NEED to be able to resize the column widths to accommodate. I want to be able to prevent the users from editing the header row so I\’ve applied a locked style to the header and an unlocked style to the body then I lock the sheet. This protects the header but also stops the user from resizing the columns.


Cast error

$
0
0

On the DropDownOpen event of a C1TrueDBDropdown I try to setup the filter text of the C1TrueDBDropdown like this

c1tdbddBaudRate.Columns("TypePort").FilterText = "2″

and I recieve this error

Unable to cast object of type 'C1.Win.C1TrueDBGrid.C1TrueDBDropdown’ to type 'C1.Win.C1TrueDBGrid.C1TrueDBGrid

C1.Win.C1TrueDBGrid.2, Version=2.0.20133.61342

This work fine in previous version. Can you help me with that.

Thank

Reply To: PlotArea issues

$
0
0

Sorry, I forgot to post my sample last night. See below.

The sample you created has the same issues. I am using 4.0.20133.183. Clicking Generate didn’t do anything. I added a call to RandomGenerate. If you keep clicking it, there are several missing axes and sometimes the golds are stacked instead of being separate. I think the latter is a case of the previous areas not being cleared. You can also see this when you click the Clear button, as nothing much gets cleared.

Tabs load arbitrary order.

$
0
0

I’ve set the tab order via the IDE. When the program loads, it reorders the tabs. I’m not saving or restoring a layout. All I’m doing is setting the visibility of a particular tab. How can I make this stop?

Flexgrid How to draw a glyph in column header

$
0
0

Dear Sir or Madam

I want sort the Flexgrid to more than one column. In have caught the flexgrid.SortingColumn-Event to get the Information on which column header the user has clicked. After this I cancel the further execution by setting e.cancel = true and call my sorter. This works well.
But I have a problem. The user doesn’t see on which column the grid is sorted, because there is no glyph in the column header. How can I show this glyph to the user.

Kind Regards
WilStof

Reply To: C1DataGrid SummaryRow – skip rows

$
0
0

The example you attached doesn’t work. The bottom row is blank. See Attachment.

Reply To: C1DataGrid SummaryRow – skip rows

$
0
0

A workaround that I’m currently using is I’m adding extra rows to offset the rows i don’t want summed up and hiding those rows.

For Example: if I dont want to sum up Row A which has a value of 100, I’ll add a hidden row with a value of -100.

C1ReportViewer – Avoid Print Dialogue

$
0
0

Hello,

I am using the ReportViewer to display reports in my ASP.Net Web Application. (Version 2.6.20123.54608)

My users are requesting for removal of the dialogue box after they click on print button in the preview. How do I avoid showing the dialogue box and send the report directly to the default printer? Is there a way I can avoid the preview as well.

This is my code:

C1.C1Report.C1Report C1Report1 = new C1.C1Report.C1Report();
//load report xml which is created using xsd file
C1Report1.Load(Server.MapPath("~/xml/C1Receipt.xml"), "Rpt_Receipt");
//Name of xsd file
C1Report1.DataSource.ConnectionString = Server.MapPath("~/xml/ReceiptPrint1.xsd");
//Table name
C1Report1.DataSource.RecordSource = "ReceiptPrint";
//Save report xml after changing connection string and recordsource
C1Report1.Save(Server.MapPath("~/xml/ReceiptPrint1.xml"));
//Bind xml file with ReportViewer
C1ReportViewer1.FileName = "~/xml/ReceiptPrint1.xml";
C1ReportViewer1.ReportName = "Rpt_Receipt";

Thanks in Advance,

Alhad


Reply To: Report generation fails with build 7.2.7725.

$
0
0

Sergey,

I added trace statements and found that this export to rtf took 23 seconds. I did this twice. In this example, the report (int the viewer) was 3 pages.
This was on my development machine using 8.0, but this also takes a long time on machines with the 7.2 patch installed that you gave me.
- Intel(R) Xeon(R) CPU E5620 @ 2.40GHz 2.40 GHz ( 2 processors )
- Installed memory (RAM): 24.0 GB

Example how I took the measurement:
In the following code, exporter is type RtfExport.

DateTime exportStart = DateTime.UtcNow;
exporter.Export(report, filePath);
DateTime exportEnd = DateTime.UtcNow;
Trace.Out().Error("Export start {0}, export end {1}, length {2}", exportStart, exportEnd, exportEnd – exportStart);

2014-03-14T16:20:20.4236479Z 0001 E ExportReport.cs:251|Export start 03/14/2014 16:19:57, export end 03/14/2014 16:20:20, length 00:00:23.0813079
2014-03-14T16:24:58.8014829Z 0001 E ExportReport.cs:251|Export start 03/14/2014 16:24:35, export end 03/14/2014 16:24:58, length 00:00:23.4673465

Reply To: Report generation fails with build 7.2.7725.

$
0
0

Sergey,

I need some clarification on a crash during a TIF export we had. A previous post failed because the file was too large. I apologize for the confusion.
This issue dealt with an out of memory exception being thrown by active reports. Is this a known issue or do you need more input. The file we were exporting has

I am copy/pasting my previous post
============ Begin copy paste
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)
============== end copy/paste

Regards,
Steve

Reply To: What/Why CommandLink?

$
0
0

Hello RobertBatson,

Apologies for delay in response.

C1CommandLink objects are the commands in menus and toolbars of C1Command.

There is no video that can explain the C1CommandLink process. However, you may go through the documentation for more details on adding simple command link item to menu.

I tested with a simple application with C1ContextMenu build but was unable to reproduce the issue. Could you please test with the above mentioned build and let me know if you are able to reproduce with the build as well. You can download the latest build from the following url :

http://prerelease.componentone.com/dotnet40/c1command/2013-t3/C1Command.4_4.0.20133.19605.zip

In case the issue persists with this build as well, please let me know the steps to reproduce the issue.

Thanks,
Richa

Reply To: Tabs load arbitrary order.

$
0
0

Hello Emathews,

Please set the 'SelectedIndex’ property of the C1DockingTab to the desired tab. I think probably the SelectedIndex is not being set in designer. If this is the case, let me know.

Thanks,
Richa

Reply To: Summation in Data from Stored Procedures

$
0
0

Hi

Just to give you an update I have passed your code along to the developers to take a look at. I’ll let you know what I hear back.

Kelley

Reply To: Install Active reports 6

$
0
0

Hello Raja,

1. You can have both versions of AR installed on your machine.
2. You do not need to add any addin to configure AR6 with VS2010.

Thanks,
Richa

Convert project from VS 2005 to VS 2008

$
0
0

I no longer have VS 2005, disk crash and I can’t find my installation disk which also has my key. In any event, I do have VS 2008 and when I convert the project none of the reports are accessible in any way, they won’t compile, nothing. I tried to run the "Convert ActiveReports" tool from the tools window, but I get an error that says there are no reports in the project. What am I doing wrong?


Reply To: Convert project from VS 2005 to VS 2008

$
0
0

Fixed the problem, just don’t know how.

What I did different ….

I deleted the converted project discussed in my earlier post ….

re-copied the project out of backup to the VS 2008 projects folder.

ran the VS 2008 conversion again ….

Edited web.config and updated the version numbers of the Active Reports DLL’s to the version I installed from the download link supplied by Component One. In the previous conversion for VS 2005 to VS 2008, I had edited the web.config file AFTER I built the project, this time I did it before.

I pressed F5 to build and run the project and it built and ran without errors.

Go figure ….

Reply To: SCRIPT5009: 'MSGesture' is undefined

$
0
0

Has this been fixed in 7.3? I would like to upgrade to 7.3 to get support for IE11, but I do not want to upgrade if it is going to break my system for users of IE10.

Reply To: Report generation fails with build 7.2.7725.

$
0
0

Sergey,

Issue # 3.

We are seeing what appears to be corruption when exporting large reports into rtf and pdf. Is this a known issue?

Thanks,
Steve

Export Rtf ,Xls Format Issue from C1printdocument

$
0
0

Hi ,

I have use C1PrintDocumnet control and C1PrintPreview Pane control.I have add data from listview control to Render table and add that render table to C1PrintDocument.I saw printprwview using C1PrintPreview pane, its fine.I want to export that data to PDF,Rich text format(RTF),Excel Format(XLS) And Text(TXT) format.For PDF format its fine.But Xls format is not good.the column positions are not perfect.Extra columns are added. For Rtf format,after export rtf format i was open that document using MSWord 2010 its shows Everything is in image format , not text format. and i have open that document using WordPad its shows empty document.I dont know what problem is going.I have attach the coding as well as all output document.Please solve the issue.Its urgent.

Reply To: Export Rtf ,Xls Format Issue from C1printdocument

$
0
0

I forgot to mention.I am using VB.Net 2008.The program is ,

Viewing all 14170 articles
Browse latest View live


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