You can have a look at the following thread where a similar question has been asked. For your convenience, I've prepared a sample project, showing how to implement this.
Please let me know whether it works for you.
Regards,
Dilyan Traykov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items