Hello Kiran,
I tried to reproduce the reported issue on our side and it seems the code works as expected. Please take a look at the attached project and let me know if you have any other questions.
Regards,
Pavel R. Pavlov
Telerik
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.