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

Grid pukes when click sort and click drag a column

2 Answers 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 28 Jan 2009, 10:54 PM
Hello,
I am currently using the newest Q3 telerik release. I have a grid which utilizes the RadAjaxLoadingPanel. The following steps raise a javascript error.  

  1. Click on a column header to sort.
  2. As the column is sorting click again and hold.
  3. Drag the column while holding as to move the column to a new location or order.

I recieve the following javascript error:
"this.get_element()' is null or not an object" on line number 124

Do you have any suggestions on what could be causing this error?
Thanks for any input.   

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 02 Feb 2009, 01:14 PM
Hello Ryan,

I was able to replicate the error on this online demo of the product, however, note that reordering the columns in the grid during ajax request execution (when it is not completed) is not appropriate and can generate errors/cause unexpected results.

To avoid that, consider disabling the grid when the ajax request is triggered and re-enable it again when it is completed:

http://www.telerik.com/help/aspnet-ajax/ajxdisablecontrolsduringajax.html

or simulate modal loading image as demonstrates in this code library entry:

http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-make-a-radajaxloadingpanel-span-over-the-whole-page.aspx

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Elliott
Top achievements
Rank 2
answered on 09 Jun 2010, 07:52 PM
what color is Telerik vomit?
Tags
Grid
Asked by
Ryan
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Elliott
Top achievements
Rank 2
Share this question
or