Hi,
I forwarded this issue to the concern team. Will let you know as soon as there is any information from them.
TFS-ID: 250832 (internal use only)
Thanks,
Sonu
Hi,
I forwarded this issue to the concern team. Will let you know as soon as there is any information from them.
TFS-ID: 250832 (internal use only)
Thanks,
Sonu
Hi Shawn,
You can use this as a workaround to set the current item initially:
(this.DataContext as MainWindowViewModel).DataCollection.MoveCurrentToFirst();
Let me verify if this is a bug or implementation specific.
~nilay
Any help on this please?
Hello, Kathika
Could you please send a same stacktrace but from latest prerelease version: http://prerelease.componentone.com/dotnet40/C1WinForms/2017-T1/C1WinForms.4_4.0.20171.248.zip
@Kathika said:
Hi Sonu,We have already included the 'IsBusy' property before calling RenderToStream, still facing the same issue.I believe, it is occuring while working inside the RenderToStream(,). Here is the log for your reference:
Message: The component is busy rendering a report. Stack Trace: at C1.C1Report.C1Report.#ACh() at C1.C1Report.C1Report.#xCh() at C1.C1Report.Field.#uxh(Double #nb, Double #ob, Boolean #A5) at C1.C1Report.Field.Render(Layout #9b, Double #nb, Double #ob, Boolean #A5) at C1.C1Report.Field.Render(Layout #9b, Double #nb, Double #ob) at C1.C1Report.Section.Render(Boolean #bEh, Group #cEh) at C1.C1Report.Layout.#Czh(#ryh #Dzh) at C1.C1Report.Layout.#Ezh() at C1.C1Report.Layout.NewPage(Int32 #vb, Boolean #Fzh) at C1.C1Report.Group.Render() at C1.C1Report.C1Report.#EAh() at C1.C1Report.C1Report.#YAh(Boolean #zCh) at C1.C1Report.C1Report.#ACh() at C1.C1Report.C1Report.#xCh() at C1.C1Report.Field.#uxh(Double #nb, Double #ob, Boolean #A5) at C1.C1Report.Field.Render(Layout #9b, Double #nb, Double #ob, Boolean #A5) at C1.C1Report.Field.Render(Layout #9b, Double #nb, Double #ob) at C1.C1Report.Section.Render(Boolean #bEh, Group #cEh) at C1.C1Report.Layout.#Czh(#ryh #Dzh) at C1.C1Report.Layout.#Ezh() at C1.C1Report.Layout.NewPage(Int32 #vb, Boolean #Fzh) at C1.C1Report.Field.#Kxh(Double #ob) at C1.C1Report.Section.Render(Boolean #bEh, Group #cEh) at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.Group.Render() at C1.C1Report.C1Report.#EAh() at C1.C1Report.C1Report.#YAh(Boolean #zCh) at C1.C1Report.C1Report.#ACh() at C1.C1Report.C1Report.#xCh(ExportFilter #Nc, Boolean #Anb) at C1.C1Report.C1Report.RenderToStream(Stream stream, FileFormatEnum fmt, String idPrefix, String fileName) at C1.C1Report.C1Report.RenderToStream(Stream stream, FileFormatEnum fmt) at ..project call
Hopefully, this will help you out to resolve the issue.
Current version : 4.0.20153
And the same report is working fine with the older version : 1.0.20042Please help us to sort out this issue.
Thanks for this, I have been struggling with a similar question and this just solved it. One question though, why do we have to use DirectCast to assign a text value to from a text field in our object?
Regards
Darrell
Thanks for the reply. MoveCurrentToFirst() will set the current item to the first item in the ListCollectionView. I don't want any item selected. In other words, when the user enters the screen for the first time, I want there to be no selected item.
Maybe I am misunderstanding your workaround?
Thanks
Hi, Prashant!
Thank you, this method works very well
Hi Pragati,
Perfect.
Thanks
Said
Well, you sparked the idea (and maybe this is what you meant by a workaround) and I came up with using the SelectionChanged event and this handler:
private void mainGrid_SelectionChanged(object sender, C1.WPF.DataGrid.DataGridSelectionChangedEventArgs e)
{
this.SelectionChanged -= mainGrid_SelectionChanged;
var collection = mainGrid.ItemsSource as CollectionView;
if(collection != null &&
e != null &&
e.AddedRanges != null &&
e.AddedRanges.FirstOrDefault() != null &&
e.AddedRanges.FirstOrDefault().TopLeftCell != null &&
e.AddedRanges.FirstOrDefault().TopLeftCell.Row != null &&
e.AddedRanges.FirstOrDefault().TopLeftCell.Row.Index == 0)
{
collection.MoveCurrentToFirst();
}
}
The null checks may be overkill, but I like to play it safe.
Hi Deb,
I am sorry but this is not possible with C1Combo. Can you please explain your use case so that I can try helping you with some alternate solution, if possible. Meanwhile, you can use C1Combobox (included in C1Input) instead of C1Combo to achieve your requirements.
Documentation Link: http://helpcentral.componentone.com/nethelp/c1input/
Thanks,
Pragati
Hi Steve,
Thanks for providing the attachment.
I suggest you to try using the latest builds of C1Winforms. You can download the builds from the links given in earlier post.
You can test your sample application with the latest builds by excluding the licenses.licx file from your project.
Please let me know your observations with the latest builds.
Thanks,
Akshay
Hi,
We tried testing our product sample application (ScheduleSamples) and could not replicate the issue at our end with the latest builds of C1UWP i.e; 10.0.20171.549. Please refer to the attached video file.
Hence, we request you to please share the build version of C1UWP you are using along with a video file representing the issue you are facing.
Thanks,
Akshay
Hi Nilay,
thank you for the reply.
I examined the sample but I don't see how it solved my problem.
Can you give me a more specific solution?
Best regards
Maxime
Hi Akshay,
Please check here https://www.screencast.com/t/PgMKqWRr. This is using the sample app from the store.
In my project, I am using version 10.0.20163.542. This is what I got after the most recent installation. Can you point me to latest version?
I can share with you a video of the same from a sample app I have made. The sample is empty except for just adding the control in the page's xaml.
@Akshay_Madan said:
Hi,We tried testing our product sample application (ScheduleSamples) and could not replicate the issue at our end with the latest builds of C1UWP i.e; 10.0.20171.549. Please refer to the attached video file.
Hence, we request you to please share the build version of C1UWP you are using along with a video file representing the issue you are facing.Thanks,
Akshay
@nilayvishwkarma said:
Hi Fabio,That seems useful.
Just so we are on the same page, you need a ReadOnly property which would not change the 'look' of the control but only disable changing its value. Correct?
~nilay
Exactly, 'cause DISABLED components (atm the only alternative to READONLY) are very difficult to read in many cases...!
Hi,
is it possibile to give the RibbonComboBox the capability to accept as item a ribbon separator?
Something like
C1RibbonCombobox1.items.add(new RibbonSeparator)
I think it should bo enough easy since that item has no particular data to handle.
At the moment the only alternative to somthing similiar is the RibbonMenu, but it is different than the RibbonComboBox!
Thanks
Regards,
Fabio La Vitola
Hi,
I have escalated this to the devs. (Bug ID: 250961)
~nilay
@nilayvishwkarma said:
Hi,I have escalated this to the devs. (Bug ID: 250961)
~nilay
wow thanks, just waiting for next C1 update!!!!
I am using C1FlexGrid.Subtotal in VB to display aggregates, but it does not have distint aggregate options.
The grid displays a list customer orders.
An order can be listed multiple times with different releases.
I want to display the count of distinct/unique orders and the total count of releases. Is there a way to acheive this using the subtotal method?