Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<style type=
"text/css"
>
.customclosebutton
{
background
:
url
(image.gif)
!important
;
}
.customclosebutton:hover
0
-26px
</style>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
"server"
Windows
telerik:RadWindow
"RadWindow1"
OnClientShow
"OnClientShow"
VisibleOnPageLoad
"true"
</
<script type=
"text/javascript"
function
OnClientShow(radWindow) {
var
TitleBar = radWindow.GetTitlebar();
parent = TitleBar.parentNode;
oUL = parent.getElementsByTagName(
'UL'
)[0];
if
(!(oUL.firstChild.id ==
"customclosebuttonID"
)) {
oUL.style.width =
"192px"
oLI = document.createElement(
"LI"
);
oLI.id =
A = document.createElement(
"A"
oLI.appendChild(A);
A.className =
"customclosebutton"
A.href =
"javascript:void(0)"
A.title =
"Close"
A.onmousedown = closewindow;
oUL.insertBefore(oLI, oUL.firstChild);
radWindow._updateTitleWidth();
closewindow(e) {
oManager = GetRadWindowManager();
oWnd = oManager.GetWindowByName(
oWnd.Close();
return
$telerik.cancelRawEvent(e);
</script>