Find attached a sample runnable application that demonstrates the correct functionality of this approach. Test it on your end and see what the difference in your case is.
Regards,
Maria Ilieva
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
I'm glad to hear that the provided sample helps. Do not hesitate to contact us back in case further assistance is needed.
Regards,
Maria Ilieva
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