We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid hanging when nested table record cell is selected and seperate thread deletes that main record

I have one binding list which again contain another child binding list.
When this is binded to grid grouping control, this will by default display nested grids inside my grid.
Insert one record to main grid(child grid may contain record or not)
Expand child grid, click on any filter cell(or any record cell) and chen click directly on other button which have code to delete first row.
After that record disappers from grid, GUI will hang.

I am using Syncfusion 9.3.0.61

6 Replies

RT Robin Tanner February 27, 2013 09:47 AM UTC

Why is this query not getting picked? Do i need to add any other details?


VK Vinish Kumar K Syncfusion Team February 27, 2013 12:27 PM UTC

Hi Robin,

 

Thanks you for your interested in Syncfusion products.

 

Query

deleting main record cause the Grid hang

Sorry for the inconvenience caused with delay. We have deeply analysis your query ‘Grid is Hang when binding data is deleted. I am afraid that I am unable to reproduce the issue in our end with the provided details by you. Please refer the attached sample file also.

 

We have used the following codes to add and delete the record in Datasource.

 

private void button1_Click(object sender, EventArgs e)

        {

            Random rand = new Random();

            int r = rand.Next(100);

            dataSource.Add(new Data(r.ToString(), "Category" + r.ToString(), "Desc" + r.ToString()));

        }

 

        private void button2_Click(object sender, EventArgs e)

        {

            try

            {

                dataSource.Remove(dataSource[dataSource.Count - 1]);

            }

            catch

            {

                MessageBox.Show("No Records found");

            }

        }

 

Please look the attached sample file and please modify your application with this suggestion. If you have this error still occur in your end. Please provide nay reproducible sample file with replication procedure. This will help us to reproduce the issue in our end and provide the support quickly.

 

Please let me know if you have further concerns.

 

Regards,

Vinish



CS_c10d129.zip


RT Robin Tanner February 27, 2013 02:18 PM UTC

Hi Vinish,
The sample provided by you is very straight forward. That will work anyway. I am attaching the sample code which will recreate this issue.
Steps:-
Click on LoadGrid (buttonLoadGrid_Click).
Expand Nested grid for first row
Click on any filter record cell in nested grid
Directly click on Delete button (buttonDelete_Click) (imp:when you click on delete button, focus should be still on nested grid filter cell)

Please let me know if you want more details.
Thanks



GridRecordDeleteproblem_8072da10.zip


AS Athiram S Syncfusion Team March 5, 2013 11:32 AM UTC

Hi Robin,

We are currently working on this query. we will get back to you with details soon.

Regards,
Athiram S


RT Robin Tanner March 12, 2013 10:10 AM UTC

Hi,
Any update on this? Are you able to replicate this issue at your end?


AS Athiram S Syncfusion Team March 13, 2013 05:22 PM UTC

Hi Robin,

Sorry for inconvenience.

We tried to run using your code, but we were unable to reproduce the issue. Kindly, attach the entire project that could reproduce the issue.

Regards,
Athiram S

Loader.
Live Chat Icon For mobile
Up arrow icon