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
<
telerik:RadCodeBlock
runat
=
"server"
>
script
type
"text/javascript"
function ChangeTitles(sender,eventArgs)
{
if(sender.CurrentViews.length>0)
var allCells = getAllCells(sender.CurrentViews[0].DomTable);
if(allCells)
for(var i=9;i<
allCells.length
;i++)
var
title
allCells
[i].title;
if(title && (title != " " || title != ""))
allCells[i]
.title
reverseTitle
(title);
}
function getAllCells(table)
if(table.cells)
return table.cells;
else
cells
new
Array();
for (var
i
0
; i < table.rows.length; i++)
row
table
.rows[i];
j
; j < row.cells.length; j++)
cells.push(row.cells[j]);
return cells;
function reverseTitle(title)
splitetedArray
.split(" ");
newTtitle
""
;
for(var
.length - 1;i>=0;i--)
newTtitle=newTtitle+splitetedArray[i]+" ";
return newTtitle;
</
telerik:RadCalendar
ClientEvents
OnLoad
"ChangeTitles"
OnCalendarViewChanged
/>