Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
<
asp:LinkButton
ID
=
"LinkButton1"
runat
"server"
type
"button"
Text
"[ Print Calendar ]"
OnClientClick
"PrintRadCalendar(); return false;"
Font-Underline
"false"
ForeColor
"Black"
/>
telerik:RadCalendar
"RadCalendar1"
Skin
"Simple"
MultiViewColumns
"2"
Style
"margin-left: auto; margin-right: auto"
MultiViewRows
>
</
<script type=
"text/javascript"
function
getOuterHTML(obj) {
if
(
typeof
(obj.outerHTML) ==
"undefined"
) {
var
divWrapper = document.createElement(
"div"
);
copyOb = obj.cloneNode(
true
divWrapper.appendChild(copyOb);
return
divWrapper.innerHTML
}
else
obj.outerHTML;
PrintRadCalendar() {
previewWnd = window.open(
'about:blank'
,
''
false
sh =
'<%= ClientScript.GetWebResourceUrl(RadCalendar1.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Calendar.{0}.css",RadCalendar1.Skin)) %>'
;
shBase =
'<%= ClientScript.GetWebResourceUrl(RadCalendar1.GetType(),"Telerik.Web.UI.Skins.Calendar.css") %>'
styleStr =
"<html><head><link href = '"
+ sh +
"' rel='stylesheet' type='text/css'></link>"
styleStr +=
"<link href = '"
+ shBase +
"' rel='stylesheet' type='text/css'></link></head>"
htmlcontent = styleStr +
"<body>"
+ getOuterHTML($find(
'<%= RadCalendar1.ClientID %>'
).get_element().parentNode) +
"</body></html>"
previewWnd.document.open();
previewWnd.document.write(htmlcontent);
previewWnd.document.close();
previewWnd.print();
previewWnd.close();
</script>