Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by j.lagos on Oct 02, 2009 07:30
open dhtmlx forum
IE7 error


Need help with IE7.

I'm using pro v2.1.
My application works fine with Mozilla, but IE7 issue the error:
IE: Object doesn't support this property or method

Draws Window and Layout but not the Grids!

Thanks
Answer posted by dhxSupport on Oct 02, 2009 08:35
Such issue may occur if didn't include necessary file to your page. Check what property or method was't found and then check what file you need to include. http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_toc_alpha
Answer posted by j.lagos on Oct 05, 2009 00:33

The initial issue to my application was the known problem of IE: Could not Open the Web page, ...Internet Site...

I avoid this (partially, because the same error some times insists...) by applying  your advices with the onLoad() handler.

My problem is this: the dhtmlx page is not the main html page but it loaded from another page (index.php) by a menu selection. Your suggestion cannot applied to this situation.

I found a solution to put the onLoad handler into an image tag, and it is partially working  as I said.

Is there another point to put the onLoad into a dhtml page if it is not the main html body?

After all, if my dhtml page is loaded  from the IE browser witout this annoyed message, the Grids could not rendered!

Is there any therapy to this?

Please note, that the same application is working fine with FF browser.

Thanks in advance,

John

 

 

Answer posted by Stanislav (support) on Oct 08, 2009 07:45
You can use similar solution, but need to decorate it in different way

<script>
dhtmlxEvent(window,"load",function(){
          any code here
          without relation to the script block position and any existing onload handlers
          code here will be executed only after page loading
})
</script>