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
60
UltraCalendarInfo - Exists and IndexOf methods
posted

Hi,

I'm using the Infragsitics controls as part of an OpenEdge 10.2b installation and have run into some peculiar behavior. At least that's what I think.

I'm trying to use the Add method on the owners property of the UltraCaledarInfo control to add a unique key for an entry. An example of such a key is "f905c74d-1385-a79e-dd11-abb84dd5f448".

When I use the Exists method on the owners property to check whether the key already exists, and it returns true, I use the IndexOf method to retrieve its index number. However, this returns -1, meaning that it can't find the key. I was expecting that when IndexOf returns -1, the Exists method would r4eturn false.

Please help.

regards, Will