this.Close() Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptorCollection.get_Count() error
Hello,
I need to recreate the scenario
1. I click on the Form menu
2. I click on the Form3 menu [open Form3]
3. I click Show Form2 button1
4. On Fom2, I double-click on the ggc record
and transfers
" tb_TRIGER_DOC_textBox.Text = selectedRecord["ProductID"].ToString()"
works ok
but I will mark it
whether_to_close_the_form_checkBox1.Checked == true
an error occurs
at
Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptorCollection.get_Count() at Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptorCollectionEnumerator..ctor(GridVisibleColumnDescriptorCollection collection) .....
how to close Form2 so that it does not report an error
please help
Gregory
Attachment: TEST_MIDI_MENUS_dad37aba.rar
Based on the information provided, we are able to replicate the issue on our end. We need more time to validate the issue at the source level. In the meantime, we require some additional details regarding your reported scenario. Based on the provided sample, we suspect you have used the 16.3450.0.29 Syncfusion product version.
This information will help us with further analysis and enable us to provide you with a solution at the earliest. Thank you for your cooperation and understanding.
Regards,
Malini Selvarasu
Hi
Malini
I confirm 16.3450.0.29.
Gregory
We have checked the reported issue "Null Reference Exception thrown when closing the Form with the TableControlCellDoubleClick event" on our end and it is confirmed as a defect. And We have logged a bug. We will fix this issue and include it in our NuGet release Which is scheduled on Aug 06, 2024.
You can track the status of this report through the following feedback link,
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
Note: We would like to clarify that the version you are currently using (16.3450.0.29) is no longer actively supported as per our product life cycle. We strongly recommend that you upgrade to the latest version. We have attached the product life cycle page for your reference. Kindly refer the below link:
Product life cycle page Link: Product Development Life Cycle for Essential Studio | Syncfusion
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Malini Selvarasu
The reported problem occurs when the parent control (e.g., Form) is disposed by using an event from a child control (e.g., GridGroupingControl). We have resolved this issue by verifying whether the control is disposed or not before proceeding with mouse operations.
private void GGC_0_gridGroupingControl_TableControlCellDoubleClick(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellClickEventArgs e) { -------------------------------------------------------------------- if (whether_to_close_the_form_checkBox1.Checked == true) { try { product_gridGroupingControl.TableControl.CurrentCell.EndEdit(); e.Inner.Cancel = true; this. Close(); } catch (Exception ex) { MessageBox.Show("Error :" + ex); } } } |
Malini Selvarasu
Attachment: GridGroupingControl_c383a2b1.zip
Thank you and best regards
Gregory
We are glad that your query was addressed. If you have any other queries, please create a new ticket. We are closing this forum.
Regards,
Malini Selvarasu
- 6 Replies
- 2 Participants
-
GP Gregory Pe
- Jul 17, 2024 10:37 AM UTC
- Aug 7, 2024 06:02 AM UTC