This update broke several things on my web site:
I have some client side JavaScript executing when the onRowCreated event was raised for a RadChart. The code walks the DOM and breaks completely. The very first statement fails:
<script type="text/javascript">
function RowCreated(sender, eventArgs) {
var dataItem = eventArgs.get_gridDataItem();
for (var i = 0; i < dataItem.get_element().cells.length; i++) {
if (dataItem.get_element().cells[i].innerHTML == "No") {
dataItem.get_element().cells[i].className = "BadClass";
}
else
if (!isNaN(dataItem.get_element().cells[i].innerHTML) && dataItem.get_element().cells[i].innerHTML != "0") {
dataItem.get_element().cells[i].className = "AlertClass";
}
}
}
</script>
When it has failed most of the Telerik controls stop responding to clicks and mouseovers.
The next problem is that I have a RadGrid that I change visibility of. Changing from Visible=false to Visible=true causes most Telerik controls to stop responding to clicks and mouseovers.
I had to make the following changes to get the site working properly again:
I moved the functionality of the JavaScript client side routine to the server and tied it to the prerender event.
Finally, I had to stop changing the visibility of the RadGrid which impacts the site visibly, but at least doesn't break it.
Anker
I have some client side JavaScript executing when the onRowCreated event was raised for a RadChart. The code walks the DOM and breaks completely. The very first statement fails:
<script type="text/javascript">
function RowCreated(sender, eventArgs) {
var dataItem = eventArgs.get_gridDataItem();
for (var i = 0; i < dataItem.get_element().cells.length; i++) {
if (dataItem.get_element().cells[i].innerHTML == "No") {
dataItem.get_element().cells[i].className = "BadClass";
}
else
if (!isNaN(dataItem.get_element().cells[i].innerHTML) && dataItem.get_element().cells[i].innerHTML != "0") {
dataItem.get_element().cells[i].className = "AlertClass";
}
}
}
</script>
When it has failed most of the Telerik controls stop responding to clicks and mouseovers.
The next problem is that I have a RadGrid that I change visibility of. Changing from Visible=false to Visible=true causes most Telerik controls to stop responding to clicks and mouseovers.
I had to make the following changes to get the site working properly again:
I moved the functionality of the JavaScript client side routine to the server and tied it to the prerender event.
Finally, I had to stop changing the visibility of the RadGrid which impacts the site visibly, but at least doesn't break it.
Anker