Please find the attached file in which I used your code snippet to customize the header of a Pane. Everything seems to work as expected.
If you still experience any difficulties could you please send us a sample running project which we can test here locally. In that way we will be able to assist you in the best manner.
If you have further questions please feel free to contact us again.
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.