GroupBar DragDrop trigger NULL exception

I spent the whole day trying to figure out what went wrong, but still no luck.


When I use the DragDrop function in the GroupBar control, I can easily move an item from one GroupBarItem to another without any issue. However, if I try to move it back, it produces a System.ArgumentNullException error. More specifically,  " throw new ArgumentNullException("adornedElement"); "triggered.

protected Adorner(UIElement adornedElement)

{

if (adornedElement == null)

{

throw new ArgumentNullException("adornedElement");

}

_adornedElement = adornedElement;

_isClipEnabled = false;

Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(CreateFlowDirectionBinding), this);

}


I basically copy and past the same xaml code from the example provided as part of the SDK, and it didn't work. Magically, it works in the original example. I have no idea what's going on here. Please help!




3 Replies

KA Karthick Arjunan Syncfusion Team June 12, 2023 02:03 PM UTC

Hi,


We have confirmed the reported scenario is a defect and logged a report for the reported scenario “GroupBar DrapDrop trigger null exception”. We will provide the fix in the Weekly NuGet release on 04th July 2023.


You can track the status of this defect using the following feedback link:  https://www.syncfusion.com/feedback/44351/groupbar-dragdrop-trigger-null-exception


If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.


Please let us know if you need any further assistance.



KA Karthick Arjunan Syncfusion Team July 4, 2023 01:23 PM UTC

We are glad to announce that our weekly nuget release was rolled out and a fix for the reported issue was included in the NuGet. 

 

v22.1.37

NuGet Link: https://www.nuget.org/

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.   




JI Jizheng July 4, 2023 01:43 PM UTC

Thanks a lot for this fix!


Loader.
Up arrow icon