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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

107370 Feb 26,2013 06:47 AM Mar 13,2013 01:22 PM Windows Forms 6
loading
Tags: Grouping
Robin Tanner
Asked On February 26, 2013 06:47 AM

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

Robin Tanner
Replied On February 27, 2013 04:47 AM

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

Vinish Kumar K [Syncfusion]
Replied On February 27, 2013 07:27 AM

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

Robin Tanner
Replied On February 27, 2013 09:18 AM

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

Athiram S [Syncfusion]
Replied On March 5, 2013 06:32 AM

Hi Robin,

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

Regards,
Athiram S

Robin Tanner
Replied On March 12, 2013 06:10 AM

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

Athiram S [Syncfusion]
Replied On March 13, 2013 01:22 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;