Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
745
DataPresenter.Sorted event
posted

It appears the DataPresenters sorted event is not raised when the sort is programmatically changed.

When using a datagrid, and the headers are clicked the event is firing correctly for me, but when I apply a sort programmatically by calling the following code, the data will sort, but the event does not fire.  Is this desired behavior?  It seems to be the sorted event should be called in this scenario.  Is there something I am doing wrong?

dataPresenterObject.DefaultFieldLayout.SortedFields.Clear();

dataPresenterObject.DefaultFieldLayout.SortedFields.Add(fieldSortDescriptionObject);

 

Parents
No Data
Reply Children
No Data