Thank you for contacting us.
I tried to reproduce the issue but with no avail. Here I have attached a sample project using the provided code snippet. Could you please modify it in order to reproduce the problem?
I am looking forward to your reply.
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.