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

_d6.parentNode is null

2 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Geert
Top achievements
Rank 1
Geert asked on 13 Oct 2008, 09:22 AM
Hello,

Our first deadline is gone, up to the next one. We discovered a strange error in javascript:

_d6.parentNode is null
_d6.parentNode.removeChild(_d6); on line 5570 of the javascript of telerik.

the code around is as follows:
5557var _d8=now-_d6._startDisplayTime;
5558var _d9=this._minDisplayTime;
5559if(this._isSticky){
5560if(_d9>_d8){
5561window.setTimeout(function(){
5562_d6.style.display="none";
5563},_d9);
5564}else{
5565_d6.style.display="none";
5566}
5567}else{
5568if(_d9>_d8){
5569window.setTimeout(function(){
5570_d6.parentNode.removeChild(_d6);
5571if(typeof (_d2)!="undefined"&&(_d2!=null)){
5572_d2.style.visibility="visible";
5573}
5574},_d9);
5575}else{
5576_d6.parentNode.removeChild(_d6);
5577if(typeof (_d2)!="undefined"&&(_d2!=null)){
5578_d2.style.visibility="visible";
5579}
5580}
5581}

The strange thing is that in debug mode the error does not appear. We see the issticky element so we think it has something to do with the loadingscreens.

the situation where it happens is as follows:
selectedindexchanged on a radcombobox which will update a very simple radgrid on which a loadingpanel is defined.

Any suggestions could be helpfull.

The Sofim-team (Belgium)

2 Answers, 1 is accepted

Sort by
0
Geert
Top achievements
Rank 1
answered on 14 Oct 2008, 03:02 PM
Hello,

After 3 f***ing days of trying to find any clue regarding the issue I found the f***ing solution. That is to say it's not a solution but a f***ing big ass mishit of myself forcing me to think about a rope and a tree.

nevertheless I post my failure so anyone with suicidal feelings will have his last laugh before joining Allah, God, Budha or any other imaginary friend in hell.

Be aware that placing a control twice in a ajaxmanager or ajaxproxy along with a loadingpanel will cause this affect.

Yes I typed it twice:

<

 

telerik:AjaxSetting AjaxControlID="cmbDate">
<
UpdatedControls>
<
telerik:AjaxUpdatedControl ConntrolID="GridCollection" LoadingPanelID="GlobalLoadingPanel" /> </UpdatedControls>
</telerik:AjaxSetting
>
<telerik:AjaxSetting AjaxControlID="btnStartImport">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="FileUploadPrestaties" /><telerik:AjaxUpdatedControl ControlID="FileUploadSupplementen" /><telerik:AjaxUpdatedControl ControlID="FileUploadBasislonen" /><telerik:AjaxUpdatedControl ControlID="ErrorCtrl" /></UpdatedControls>
</
telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="cmbDate">
<
UpdatedControls>
<
telerik:AjaxUpdatedControl ControlID="GridCollection"  LoadingPanelID="GlobalLoadingPanel" />
</UpdatedControls>

</
telerik:AjaxSetting>

removing the seconf one solved the issue!
greetings to those who laugh at me
greetings to those who are planning suicide
greetings to George W. Bush  oooh wait leave that one out

The Sofim-team (Geert)

 

 

 

0
Simon
Telerik team
answered on 15 Oct 2008, 02:59 PM
Hi Geert,

It is very unfortunate that you have lost so much time in determining the cause of the issue.

I also tried to reproduce it at my side but to no avail. I added two identical AjaxSettings to the RadAjaxManager on my page but still everything worked normally.

Could you have a look at the attached page and try to modify it, so that the issue starts to appear? If this is possible, please give me instructions on how to do this at my side as well. Once I reproduce the issue we will continue the investigation and hopefully will fix it.

Thank you in advance for your co-operation and understanding.

All the best,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Geert
Top achievements
Rank 1
Answers by
Geert
Top achievements
Rank 1
Simon
Telerik team
Share this question
or