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

Reply To: Not may print – exception

$
0
0

Hello!

Similar problem on another customer computer, problem to print to sharing printer:

Exception details:
System.Drawing.Printing.InvalidPrinterException: Settings to access printer '\\lv-dev-agitar\hp LaserJet 1160 PCL5e’ are not valid.
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
at System.Drawing.Printing.PrinterSettings.GetHdevmode()
at System.Drawing.Printing.PageSettings.get_PaperSource()
at GrapeCity.ActiveReports.Viewer.Win.Controls.CustomPrintDialog.RunDialog(IntPtr hwndOwner)
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
at System.Windows.Forms.CommonDialog.ShowDialog()
at GrapeCity.ActiveReports.Viewer.Win.Printing.PrintImpl.#zs(#q0B documentPrintAdapter, Action`1 action)
at GrapeCity.ActiveReports.Viewer.Win.Printing.PrintImpl.Print(#q0B documentPrintAdapter, Boolean showPrintDialog, Boolean showPrintProgressDialog, Boolean usePrintingThread, Action`1 action)
at GrapeCity.ActiveReports.Viewer.Win.Printing.PrintImpl.Print(DocumentModel documentModel, ReportModelBase reportModel, IApplicationContext context, Boolean showPrintDialog, Boolean showPrintProgressDialog, Boolean usePrintingThread)
at GrapeCity.ActiveReports.Viewer.Win.WindowsPrintService.Print(DocumentModel documentModel, ReportModelBase reportModel, IApplicationContext context, Boolean showPrintDialog, Boolean showPrintProgressDialog, Boolean usePrintingThread)
at GrapeCity.Viewer.Common.ViewModel.ToolbarViewModel.<>c__DisplayClass39.#5kz()


On Shelf Change Events Handling

$
0
0

Hello,

I am just testing Active Analysis together with some other OLAP component to decide, which one to use in our analytic application.

Since our data do have a complex structure including some probabilities and weights, they are not directly additive and I must recalculate them in the specific manner after removing/adding fields from the column and row shelves. An there I have not been able to find how to hook to some PivotView (or Layout?) event invoked by the drop in or drop out of the particular field from the particular shelf.

It could be probably solved by the custom aggregate function, too. But I’m not sure, if it is possible to define it.

Thank you for your answer and advice.

Ladislav

C1DataTable Reject changes

$
0
0

Hi,

Is it possible to reject changes on a C1.Silverlight.Data.Datatable?

I’m implementing undo functionality and I would like to have the possibility to reject a single change on the datatable (as defined by row and column index).
Do you have any suggestions?

It seems that it is only possible to call DataTable.AcceptChanges()

Thanks

Reply To: C1DataTable Reject changes

$
0
0

C1.Silverlight.Data doesn’t implement caching changes. It only keeps track of what rows have been changed, so that you can save changes back. If you need to reject changes, you can re-read data from the data source or keep the copy of unchanged data somewhere on the client side.

Reply To: C1DataTable Reject changes

$
0
0

I’m currently keeping track of every edit within the viewmodel, so I can revert all the cellvalues to the previous values. However the RowState is still flagged as DataRowState.Modified. Is there a way to reset that state? It has a private setter.

Appointment border color and/or thickness

$
0
0

Is it possible to change some of the appointments to have a red border? And what about border thickness?

Thanks
Andy

Nuget package for .50 release won't install

$
0
0

I can’t install the nu-get package for the .50 release (html client .27).

Error Message:

Attempting to resolve dependency 'AmplifyJS (≥ 1.1.0)’.
Attempting to resolve dependency 'jQuery (≥ 1.4)’.
Attempting to resolve dependency 'jquery.mobile (= 1.3.2)’.
Attempting to resolve dependency 'Microsoft.LightSwitch.Client.JavaScript.Runtime (≥ 1.0.1.0 && ≤ 2.0.0.0)’.
Attempting to resolve dependency 'datajs (≥ 1.1.0)’.
'Microsoft.LightSwitch.Client.JavaScript.Runtime 1.0.1.0′ already installed.
Installing 'Wijmo.LightSwitch.Client 4.0.20133.27′.
Successfully installed 'Wijmo.LightSwitch.Client 4.0.20133.27′.
Updating 'Wijmo.LightSwitch.Client’ to version ’4.0.20133.27′ in project 'Dance Studio Manager.HTMLClient’.
Install failed. Rolling back…
Already referencing a newer version of 'Microsoft.LightSwitch.Client.JavaScript.Runtime’.

vs version:
Microsoft Visual Studio Professional 2013
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

LightSwitch for Visual Studio 2013 06177-004-0446025-02019
Microsoft LightSwitch for Visual Studio 2013

Microsoft Office Developer Tools – Update 1 for Visual Studio 2013 ENU 06177-004-0446025-02019
Microsoft Office Developer Tools – Update 1 for Visual Studio 2013 ENU

Team Explorer for Visual Studio 2013 06177-004-0446025-02019
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013 06177-004-0446025-02019
Microsoft Visual Basic 2013

Visual C# 2013 06177-004-0446025-02019
Microsoft Visual C# 2013

Visual C++ 2013 06177-004-0446025-02019
Microsoft Visual C++ 2013

Visual F# 2013 06177-004-0446025-02019
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker 06177-004-0446025-02019
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

ASP.NET and Web Tools 2013.1.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.0.11213.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

NuGet Package Manager 2.8.50126.477
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools

Windows Azure Remote Debugging 1.0
Windows Azure Remote Debugging Community Technology Preview

Windows Azure Tools 2.2
Windows Azure Tools for Microsoft Visual Studio 2013 – v2.2.11003.1601

Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Reply To: Copy Cell Data in clipboard using context menu

$
0
0

Hello Len,

To get fixed row data, you may capture the MouseDown event of C1OlapPage.OlapGrid and using the following code, store the value in a variable.

string clickeddata = string.Empty;
//Get Clicked Data
_c1OlapPage.OlapGrid.MouseDown += (_s, _e) =>
{
     if (_e.Button == MouseButtons.Right && _e.Clicks > 0)
     {
          C1.Win.C1FlexGrid.HitTestInfo hti = _c1OlapPage.OlapGrid.HitTest(_e.X, _e.Y);
          if (hti.Type == HitTestTypeEnum.RowHeader)
               clickeddata = _c1OlapPage.OlapGrid.GetData(_c1OlapPage.OlapGrid.MouseRow, _c1OlapPage.OlapGrid.MouseCol).ToString();
     }
};

Then in the contextmenuclick event you can use this variable to copy to the clipboard :

private void copyMenuItem1_Click(object sender, EventArgs e)
{
    try
    {
        string data = string.Empty;
               
        _c1OlapPage.OlapGrid.ClipboardCopyMode = ClipboardCopyModeEnum.DataOnly;
        Clipboard.SetData(System.Windows.Forms.DataFormats.StringFormat, clickeddata );
        _c1OlapPage.OlapGrid.ClipboardCopyMode = ClipboardCopyModeEnum.DataAndColumnHeaders;

    }
    catch
    { }
}

I am attaching a sample for detailed implementation of the above code.

Let me know if this helps.

Thanks,
Richa


Reply To: C1DataTable Reject changes

$
0
0

DataTable.AcceptChanges resets all row states to DataRowState.Unchanged and removes deleted rows forever. So, perhaps you can use AcceptChanges first and then re-read data. Or you can revert some field value and call DataRow.AcceptChanges for this row.

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

$
0
0

Hi,

The version of the C1FlexGrid, the one of the software I installed, is 4.6.20131.765. Would upgrading to the version you mentioned make a difference? If yes, is there an easy way to do it? I overwrote the existing files with the ones provided and also manually changed the version number in a licences.licx file but it doesn\’t build. The solution has a few projects using the grid, so the manual update might not be the best.

Thank you.

Reply To: C1DataTable Reject changes

$
0
0

Thanks for the suggestion. I can temporarily use the acceptchanges on the DataRow, but this wouldn’t work if there were multiple edits on a single row.

I’ve implemented my undo functionality and it seems to work. But I’m currently experiencing a strange bug.

I have a C1FlexGrid in the view, which is bound to the DataTable.DefaultView. The binding works correctly.

When i use my undo functionality it seems that some cell values revert immediately to their original state, but some don’t. When I scroll a few lines down and back up again, so that those cells disappear out of the view and back again, only then are they showing their original values.
This behaviour is very strange, do you have any idea what might be causing this bug?

Reply To: C1DataTable Reject changes

$
0
0

I can only assume that it’s something related to the cell editing state and/or to the sorting or filtering. Can’t tell more. Please, try to do simple sample, reproducing the problem, zip it and attach here.

Reply To: C1Datagrid truncating column

$
0
0

Hi Reema.

Was wondering if there was any update?

Thanks,
Peter

DataGrid refresh data problem

$
0
0

Hi,

I have a problem when a group something on a Grid and then a sort another column. I’m using a lot of data on my datagrid and it refreshs my items that were expanded before, collapsing it.
I tried to save the visibility of the rows like this example does:

http://our.componentone.com/groups/topic/datagrid-datagridgrouprow-control-over-expand-collapse/

But it stocks the row position in the grid, so if we sort the column another time, it expands the position saved and not the row that I’ve had expanded before.

I’d like to know if there’s is another way to know what line was expanded before the refresh when I group and sort the columns.

Thanks,
Roberta Leite.

Export PageReport with FormattedText to pdf

$
0
0

I have a pagereport with some formattedText areas that I need to export to a pdf document.

The report displays and prints correctly in the report viewer, but some of the formatting is lost when exported to pdf.


Version conflict between c1Theme and c1Input

$
0
0

Hello,

I just ran the Live Update and ran the project updater on all my projects. Now when I attempt to open my application (VS2010) I get the attached error message. (see pic)

I’m not 100% clear on what it’s telling me but if I’m reading it correctly, it’s stating that the c1Input component that downloaded with the c1Theme component isn’t compatible with one another.

Since I’m using the most current (released) build of both I’m a little confused.

The message is implying that there is a more current build of the c1Input control. Is there a way to get a more current build of the c1Input control that will work with the most current build of the c1Theme component?

Thanks.

Chris

Reply To: Version conflict between c1Theme and c1Input

$
0
0

Sorry, I forgot to mention the versions of each component that are currently downloading via your c1Live utility:

c1Input: 4.0.20133.33332
c1Theme: 4.0.20141.35

Reply To: MapReports Sample Project

$
0
0

Hello, still waiting for some sort of followup response.

Thanks,

Chris

Reply To: C1Ribbon crash when C1ThemeController.ApplicationTheme set

$
0
0

Ok, still one more issue. I tried new versions of the C1 components but I now get prompts suggesting me to use newer version of C1Input or older version of C1Themes. Problem is, there is no 2014T1 version of C1Input available @prerelease.componentone.com

Reply To: C1Ribbon crash when C1ThemeController.ApplicationTheme set

$
0
0

Hi,

Attached is the latest build of C1Input for the moment. Hope that will help.

Regards,

-Andrey

Viewing all 14170 articles
Browse latest View live


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