Error in Dhtmlgrid

I have followed your documentation and using MVC4 and the grid control is in partial page which I’m calling from a .aspx page.I have included the .js files and two .css files as follows:

I'm using dhtmlgrid version dhtmlxgrid.js v.3.0 build 110707 in where [b]Microsoft JScript runtime error: Unable to set value of the property 'innerHTML': object is null or undefined[/b] I'm getting the error when executing the javascipt as per your documentation gridLeft = new dhtmlXGridObject("gridbox");

It seems that line of code is called before related html container is placed on the page.
You must call grid initialization, only when its HTML container is already rendered.

To be sure, you can start grid initialization from onload handler, like

dhtmlxEvent(window, "load", function(){ LoadDropDownGrid(); })