New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Adding a Custom Button to RadWindow Titlebar

HOW-TO

Add a custom (print) button to the titlebar of RadWindow for ASP.NET AJAX

DESCRIPTION

The attached example shows how to implement a print button in your window titlebar. Some typical scenarios include implementing help or print button based on this functionality.

SOLUTION

A JavaScript function handles the OnClientShow event and creates the needed HTML elements that are added to the command buttons list. Some CSS rules apply images for the buttons and an onmousedown handler is used to trigger the custom function (printing the content page in the example).

You can find attached a sample page with the proposed implementation that you can use as base for further development. You can obtain the project files from here:

In this article
Not finding the help you need? Improve this article