Attached to this message, is a small application, which handles a functionality close to the one which you mentioned. I hope it gets you started properly.
Greetings,
Yavor
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items