ArgumentOutOfRangeException on WP7 Reminder

During the creation of a Windows Phone 7 application for Trix I wanted to give the user the chance to add a reminder for a concert of his choice. With some example code available, the implementation was smooth and easy. Until I ran into this error while testing the app:

ArgumentOutOfRangeException was unhandled
Specified argument was out of the range of valid values.
Parameter name: Title

Since I selected an item with a very long title, it was quite clear what the problem was. A small search on MSDN learned me that the maximum length for this property is 63 characters.

Licensed under CC BY-NC-SA 4.0; code samples licensed under MIT.
comments powered by Disqus
Built with Hugo - Based on Theme Stack designed by Jimmy