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

[Solved] radgrid Javascript errors

2 Answers 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
steve
Top achievements
Rank 1
steve asked on 01 Oct 2009, 08:41 PM
I have the grid in a user control in the default page (which has a master page).  Once I bind the control the the dataview, if I do any thing out side of the control, do any of the client side functionality, close the control, rebind or try to clear the control I keep getting this javascript runtime error.  I cannot find anything on the web about this error.  What am I missing. 

Microsoft JScript runtime error: 'this._owner.MasterTableView.get_element().offsetWidth' is null or not an object

I have grouping, sorting, resizing, column reorder and exporting enabled.

Thanks

2 Answers, 1 is accepted

Sort by
0
steve
Top achievements
Rank 1
answered on 01 Oct 2009, 08:50 PM
I did figure out that the error goes away when I remove scolling.  So if any one can tell me what i need to enable scrolling or if there is more too it then enabling the property. 

Thanks
0
steve
Top achievements
Rank 1
answered on 01 Oct 2009, 11:02 PM

Looks like it was the was the loading panel.  I removed this panel and turn the scrolling back on and it the error went away.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">    
<AjaxSettings>     
<telerik:AjaxSetting AjaxControlID="RadGrid1">     
<UpdatedControls>    
<telerik:AjaxUpdatedControl LoadingPanelID="RadAjaxLoadingPanel1" ControlID="RadGrid1" />    
</UpdatedControls>    
</telerik:AjaxSetting>    
</AjaxSettings>   
</telerik:RadAjaxManager>   
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="Center" Transparency="20">    
<img src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'    
 alt="Loading..." style="border: 0px;" />   
 </telerik:RadAjaxLoadingPanel>   
 
Tags
Grid
Asked by
steve
Top achievements
Rank 1
Answers by
steve
Top achievements
Rank 1
Share this question
or