This is a migrated thread and some comments may be shown as answers.

Custom Window heading

2 Answers 27 Views
Window
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 09 Dec 2016, 10:11 AM

Is it possible to include a button inside the window header? Not custom icons in the top right, but a custom button.

 

I have set my k-title attribute to be a function, and the function returns the html to create the button - this bit is fine. My problem is that the button click does not go to the specified function. Is it possible at all?

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Boyan Dimitrov
Telerik team
answered on 13 Dec 2016, 07:29 AM

Hello Marc,

As stated in the title article that window's title option accept Boolean or string to represent the text in the header. 

My suggestion is to set the title of the window widget to "false" (remove the built-in header of the window) and implement a custom header in the content. 

Regards,
Boyan Dimitrov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Marc
Top achievements
Rank 1
answered on 13 Dec 2016, 11:28 AM
Thanks Boyan! 
Tags
Window
Asked by
Marc
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Marc
Top achievements
Rank 1
Share this question
or