Current filter:
                                You should refresh the page.
                                  • I would like to ask if there are any ways to check if record is deleted before expanding detail row in ASPxGridView?

                                    I am trying to fix a scenario in multi-user environment where by both User A and User B load the same grid view, User A deleted a row and User B will get application error when trying to expand the detail row.

                                • Andrey K (DevExpress Support) 10.23.2019

                                  Hello,

                                  Am I correct that you show a detail row using the IModelListViewWeb.DetailRowMode property? A list view shouldn't raise an exception in such a configuration in the scenario you described. So, it is better to figure out why this exception is raised in your case.
                                  Please refer to the attached example and check how it works on your side. If it operates correctly, compare it with your project to find the difference that leads to the issue. If you face any difficulties here, modify the attached project to illustrate the problem and send it to us. This way, we will be able to research it on our side and find the cause of the issue.

                                  Thanks,
                                  Andrey

                                • Customer47495 10.23.2019

                                  Sorry, I have get the scenario wrong. The grid view is inside a main detail view, user A delete the main detail view record, user B will get application error when trying to expand the grid view.

                                • Andrey K (DevExpress Support) 10.24.2019

                                  Hello,

                                  I tried to replicate this behavior as well but without success. Please refer to the attached project and describe how I need to modify it to get the behavior you described. If there are specific steps that I need to perform to get this behavior, describe them in detail. A simple screencast that illustrates these steps would be of great help.

                                  Thanks,
                                  Andrey

                                0 Solutions

                                Creation Date Importance Sort by