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

Getting JavaScript Error on RadGrid "get_masterTableView.get_element()"

2 Answers 207 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mahesh
Top achievements
Rank 1
mahesh asked on 05 Sep 2008, 08:36 AM
I am getting JavaSript error on some machine Object does not support this property or method. While debugging in VS 2008 i found error is on get_masterTableView.get_element(). Event quick watch does not found "get_element()" method in "get_masterTableView." But it is working on some machine. I am using VS 2008 with Framework 2.0.

Please suggest.

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 05 Sep 2008, 09:53 AM
Hello Mahesh,

The following approach is also possible:
var radGrid = $find('<%= RadGrid1.ClientID %>'); 
var mtbElement = document.getElementById(radGrid.get_masterTableView().get_id()) 

Please note that get_masterTableView is method, not property.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
mahesh
Top achievements
Rank 1
answered on 05 Sep 2008, 10:23 AM
I am getting error in some telerik JS not in my JS.
Tags
Grid
Asked by
mahesh
Top achievements
Rank 1
Answers by
Daniel
Telerik team
mahesh
Top achievements
Rank 1
Share this question
or