This is a migrated thread and some comments may be shown as answers.

Problems with 2010.3 1215 (Dec 15, 2010)

1 Answer 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anker Berg-Sonne
Top achievements
Rank 1
Anker Berg-Sonne asked on 23 Dec 2010, 04:52 PM
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

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 28 Dec 2010, 10:39 AM
Hello Anker,

We are aware of this error. You can download latest internal build where this has been fixed.

Greetings,
Nikolay
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Anker Berg-Sonne
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or