As a solution I suggest to use a class instead of an ID. When you want to hide the button, you should get the reference to the current view (view method
) and find the element (by class) inside the header element.
For your convenience I prepared a small example: http://jsbin.com/ufigap/2/edit
I hope this will help.
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI