I've tried to reproduce the problem you report, but to no avail. I have prepared a sample project using the provided code snippet. You can find it attached. Please give it a try and let me know how it works on your side.
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.