sfDataGrid inside Border Control Crashes with unhandled exception

Hello After upgrade from .net maui controls from 

26.2.13 to 27 version. My application crashes when running or debug mode in VS 2022. After hours of painstaking effort I found the sfDatagrid inside Border control is failing


See screenshot example. This can be easily reproduced . Ensure you are in 27.1.## version add sfDataGrid inside Border Control.


If I change Border control to Frame it works fine but I am assuming Frame is older version of control in MAUI.

I haven't tried other approaches. I have Border for many DataGrid . So for now I haven't upgraded to newer version.

Please guide next best step

Image_5252_1728168343272


1 Reply

SD Sethupathy Devarajan Syncfusion Team October 7, 2024 01:33 PM UTC

Hi Praveen,


Thank you for bringing this issue to our attention. We’ve identified this as a framework-level issue with simple control layout sample. This has been reported to the .NET MAUI frame work team, and we had shared the reported link for your reference.

Frame work issue link : https://github.com/dotnet/maui/issues/25118


As a temporary solution, we recommend continuing to use the Frame control in place of the Border control. Although Frame is an older version, it remains fully functional for this purpose, ensuring stability in your application until the issue with Border is resolved.


We will wait until the Framework team responses. We will do the action plan from our end based on the update from the framework team. We appreciate your patience and understanding in the meantime. Please let us know if you need any further assistance with this. As always, we are happy to help you out.



regards,

Sethupathy D.


Loader.
Up arrow icon