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
1940
Exception after LoadFromBinary
posted

Hello,

I just came across a strange exception that is happening depending on LoadFromBinary.

After loading settings into the toolbarsmanager like this,

this.ultraToolbarsManager.LoadFromBinary(...);

and subscribing to this event,

this.ultraToolbarsManager.PropertyChanged += this.PropertyChanged;

and handling it like this,

if (e.ChangeInfo.Source == this.ultraToolbarsManager && e.ChangeInfo.FindPropId(PropertyIds.IsMinimized) != null) {...}

I get a NullReferenceException in Infragistics.Shared.PropChangeInfo.FindPropId(Enum propId)

 

I even investigated your code and cant see how a NullReferenceException can ever be thrown there.

Skipping LoadFromBinary will not throw the Exception at all.

Using Version 11.2.20112.2050

 

Thanks for any help!

 

Blue