Hi,
since some days, I got the title's related null reference exception when I click on item on RadListView control in DetailView mode.
Have you any idea? If i use the same control with the same data inside it but set mode to ListView al works without any problem (but I can't do this, due to a complex series of routine formatting details view elements according to the type and the structure of the data inside of it). The exception was thrown inside Telerik.WinControl.UI, on the event indicated. I cannot intercept any event before the crash, so the application quit unexpectedly.
Routing causing the exception is:
private void lvRecords_CurrentItemChanged(object sender, ListViewItemEventArgs e)
{
if (e.Item != null)
CaricaDettaglio(e.Item.DataBoundItem as BaseEntity<int>);
else
{
spDetails.Collapsed = true;
spGestioneCustom.Collapsed = true;
}
}
where, by the call CaricaDettaglio, I made some changes on the form, loading some data into other controls based on the e.Item.DataboundItem, an entity of my application. I've also noticed that if I double click on form bar to resize it, if the mouse passes through the control during the form resize, the same event was fired, with the same result, without any further click on it, and this is really unattended.
DLL version is 2016.2.608.40 but I don't want updgrade project to latest Telerik Library if not necessary.
Have you any idea or suggestion?
Thanks in advance.