I investigated this problem and I found that this is a bug in the Behaviors SDK. It seems that it does not recognize an event which is registered in a custom class and it is of type that is not declared in the System.ComponentModel namespace. For example : SelectionChangedEventHandler
. A workaround could be to copy/paste the declaration of the delegate in the custom class.
In this case, the only workaround would be to create a class that derives from the RadAutoCompleteBox and register a new event similar to the SelectionChanged and trigger it when the SelectionChanged event is triggered.
For your convenience, I have attached a sample project which shows how to achieve the workaround. Also, there is an example of a custom class that derives from Button to demonstrate where the problem comes from. You can see that if you remove the copy/pasted delegate the Behaviors SDK will not recognize the event:
// Comment the copy/pasted delegate to break the app.
sender, SelectionChangedEventArgs e);
Let me know if this helps.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.