Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
915
Sorting Problem
posted

Whenever I sort my WebDataGrid (which is tied to an OjectDataSource), I get a javascript error when the page renders.

The error is in the javascript function:  _renderOnAsyncResponse: function (props, html)

It is on the line:  newElement = newElement.firstChild;

The problem is the newElement is null.

I have ajax enabled on the grid (and would like to keep it that way rather than wrapping in an update panel.  If I have to do that, then what is the point in using the WebDataGrid (other than styling headaches)?

  • 6748
    Suggested Answer
    posted

    Hello Robert,

     

    Are you changing the datasource on postback? If you are doing so, would you try calling DataBind after? If you are still getting this error, would it be possible for you to attach a sample that I can use for replicating your issue?

     

    Regards,

    Lyuba

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

     

     

  • 915
    posted

    I just upgraded to the newest service pack for 2010 Volume 3 and this error is gone now.  However it has now been replaced by the following:

    Async response failure: equest.readyState==4