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

TypeError

2 Answers 53 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 17 Jun 2013, 04:13 PM
I'm having a hard time understanding what I might be doing wrong here. Firebug is throwing an error in this piece of code:

b.RadComboBox.prototype._getOffsetParentOffset=function(f){var d=0;
var e=0;
var h=a(f.offsetParent);
if(h.css("position")!="static"){var g=h.offset();
d=g.top;

There's more code, but I figured this was enough for you to determine where this problem is. Firebug is throwing the following:

TypeError: g is null

And it's trying to use it on that last line. What's going on? Thanks.

Edit:
Thought I'd add more about my setup. The particular RadComboBox that throws this exception is a RadComboBox+RadTreeView. I'm using an AjaxManager to ajaxify most of the controls (including this one) one the page. Once I use another control using the RadComboBox+RadTreeView throws this error, but as long as I only use the RadComboBox+RadTreeView it seems to work.

2 Answers, 1 is accepted

Sort by
0
N
Top achievements
Rank 1
answered on 18 Jul 2014, 05:44 AM
Hi Iam facing the same issue while using radcombo box. Please suggest.
0
Dimitar Terziev
Telerik team
answered on 21 Jul 2014, 04:07 PM
Hi Matthew,

Could you specify the version of the controls that you are using, as well as the browser where the issue is reproduced.

Regards,
Dimitar Terziev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
Matthew
Top achievements
Rank 1
Answers by
N
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or