I am 100% sure it’s the current version of Flexgrid.
I downloaded previous version and have no issues at all. This has been
working for the last 2 years with no issues.
Sunil
I am 100% sure it’s the current version of Flexgrid.
I downloaded previous version and have no issues at all. This has been
working for the last 2 years with no issues.
Sunil
All resolved. Appears that as the export file was 7+ years old there have been changes in meantime to system requirements. All of the group names (both header and footer) should be unique as should all field names to stop the designer becoming confused as to what object is being updated.
Thanks C1 for the help.
John
Hi,
We are using elastic one grid control for a project of ours. Our requirement is to select and highlight that particular row on the grid and to access data in each of its column.
Is this requirement possible in elastic one controls.
regards,
Vivek
Hi Sunil,
I get the point, but as of now this issue is not directly reproducible, which means some kind of implementation has to be performed in order to resolve this. Can you provide me a sample where this could be reproduced or some the answers to the following questions:
What are the operations you are performing on the grid?
Are you using Paint or OwnerDrawCell method anywhere in your code? If yes then what specific implementation are your performing?
What all things do you change at design time?
Is the application multi threaded? Are you using timers with grid?
Can you perform a memory or GDI profile test of your application?
Please understand that even though this bug is in C1Flexgrid, it could very well be implementation specific, which could not be resolved unless it is reproducible at our end.
~nilay
So, can you please tell me is there a way to save as PDF an excel file made with C1Excel component?
Regards,
Hrvoje
Hi folks,
a customer gets a problem while CTRL-C in c1 RichTextBox. Following Error comes up:
OpenClipboard fehlgeschlagen (Ausnahme von HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN)) in mscorlib
bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
bei System.Windows.Clipboard.Flush()
bei System.Windows.Clipboard.CriticalSetDataObject(Object data, Boolean copy)
bei System.Windows.Clipboard.SetDataInternal(String format, Object data)
bei System.Windows.Clipboard.SetText(String text, TextDataFormat format)
bei System.Windows.Clipboard.SetText(String text)
bei C1.WPF.RichTextBox.C1RichTextBox.ClipboardCopy()
bei C1.WPF.RichTextBox.C1RichTextBox.OnKeyDown(C1KeyEventArgs e)
bei C1.WPF.RichTextBox.C1RichTextBox.OnC1KeyDown(KeyEventArgs e)
bei C1.WPF.RichTextBox.C1RichTextBox._txtBox_KeyDown(Object sender, KeyEventArgs e)
bei System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
bei System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
bei System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
bei System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
bei System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
It seems to be a known Microsoft bug. Is there any workaround? We're using v4.0.20141.391.
Best regards
Hello,
Are you there Mr. Prashant? Could you please help me to fix this issue of C1DragDropManager?
So sorry because Im not good at English.
Thank you.
Why ColumnFilterEditor sorting integer value like string value ??
Is there a way to embed fonts in a PDF in renderToStream?
Code:
private C1Report report = new C1Report();
private bool LoadReport()
{
report.Load(Doc, reportName(Doc));
report.DataSource.Recordset = dt;
report.RenderToStream(ReportStream, FileFormatEnum.PDF);
}
I have tried with all of thiese and thay dont seem to work?
report.C1Document.FontProcessingOptions.EmbeddedFontsGlyphsBuildMode = C1.C1Preview.EmbeddedFontsGlyphsBuildMode.All;
report.C1Document.FontProcessingOptions.FontHandling = C1.C1Preview.FontHandling.EmbedFonts;
report.C1Document.AutoEmbedFonts = true;
report.C1Document.EmfType = System.Drawing.Imaging.EmfType.EmfPlusDual;
report.C1Document.UseGdiPlusTextRendering = true;
Hello,
This issue is already in discussion on the following SupportOne case and has been escalated to our development team for further investigations.
http://supportone.componentone.com/home/casedetail/192005
Please let us know if you need any further assistance.
Regards,
Prashant
Hello,
You are suggested to use ImageField instead of TemplateField then the image can be exported to pdf file correctly. Please let us know if it is acceptable for you.
Regards,
Prashant
In the chart properties form (accessed via a call to ShowProperties()) there are fields that appear to be C1DropDownControls. When clicked, they produce tool windows, such as that in the screenshot I have provided for the "Symbol Editor".
Is it possible to access these editor forms via the C1Chart control? I mean without using the complete properties dialog. Just the mini editor form(s).
Hi,
This is not a behavior of C1SpellChecker. A spellchecker is bound to a single control only.
~nilay
Hi Milo,
In FlexReport you can use the same procedure to draw OMR marks on the report. You need to use C1FlexReport.GetPageImage method in order to get a page’s metafile in C1FlexReport.
For more information follow the links given below:
http://helpcentral.componentone.com/nethelp/FlexReport/C1ReporttoFlexReportBreakingChanges.html
Thanks,
Akshay
Hi,
I think I found a small bug with column caption word wrap where at certain widths, a letter can be cut off before word wrapping engages. Attached are two screenshots showing correct and incorrect wrapping. This is the code I used to demonstrate the issue.
Imports C1.Win.C1TrueDBGrid
Public Class Form1
Dim dtTest As New DataTable
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Me.dtTest.Columns.Add("Expiration Date", GetType(Date))
Me.C1TrueDBGrid1.DataSource = Me.dtTest
Me.C1TrueDBGrid1.Splits(0).ColumnCaptionHeight = 50
' This cuts off the last letter, showing "Expiration Dat"
Me.C1TrueDBGrid1.Splits(0).DisplayColumns("Expiration Date").Width = 80
' This works, showing "Expiration" (newline) "Date"
'Me.C1TrueDBGrid1.Splits(0).DisplayColumns("Expiration Date").Width = 75
End Sub
End Class
Problem posting: attached the topic text as text file
We have some further problems with C1PrintDocument.
We use RenderTables with Render Text inside. As we already said there is a problem with the clip ability of RenderText (it simple does not clip).
We found a workaround how to get clipping still done: Use a RenderArea in the RenderTable Cell and inside the RenderArea the RenderText.
Now this is a problem because if we want to use "Style.TextAlignVert" on the RenderText it will not align the Text correct. If we use the RenderText directly in the Cell it aligns the text correct.
Can you help us align the text inside the RenderArea verticaly?
Sample code attached (use the checkbox at the top of the window to see the problem (eigther clipping works or vertical align works - we would need both to work)
greetings
Daniel
hi,
i would like to print c1flexgrid on A4 paper and landscape orientation in easy way using vb.net.
thanks in advance..
All I am doing is loading a basic XLSX file onto grid for users to view.
C1FCNExcel.DataSource = ""
C1FCNExcel.VisualStyle = C1.Win.C1FlexGrid.VisualStyle.Office2010Silver
C1FCNExcel.LoadExcelSheetNames(txtExcelFileName.Text.ToString.Trim)
C1FCNExcel.LoadGrid(txtExcelFileName.Text.ToString.Trim, C1.Win.C1FlexGrid.FileFormatEnum.Excel, C1.Win.C1FlexGrid.FileFlags.VisibleOnly)
C1FCNExcel.AllowEditing = False
C1FCNExcel.AllowAddNew = False
That's all the code that I use. Like I said its a basic view of Excel file. Don't have any other code.