I’m making an application in using Visual Studio. I’ve been trying to use the dhtmlxLayout with no success. Could you provide me an aspx examplel?

I read the documentation and samples, but I always get the “dhtmlLaout is undefined” error.

Here’s the full code:

<%@ Page Language=“VB” AutoEventWireup=“false” CodeFile=“Default.aspx.vb” Inherits="_Default" %>

Untitled Page

What am I doing wrong?




dhtmlxWindows codebase files should be also included like this:

Here is a documentation: … yout_m9:04

Well, thanks for the quick reply, but that didn’t work, I still get the “dhtmlxLayout is undefined” error.

I’m trying now to show only a basic dhtmlxWindow following the “Minimal Init” sample, I copied the full source code of the sample page and it still doesn’t work (“dhxWins is null or not an object”). Do I have to declare some AJAX assembly or something?

Thanks again,

Could you please provide a direct link?

Got it working, thanks.

The problem was on

    <script  src="/dwin/codebase/dhtmlxcommon.js">
    <script  src="/dwin/codebase/dhtmlxwindows.js">

The path was incorrect, I didn’t add the Virtual Path, should be:

    <script  src="/TestSite/dwin/codebase/dhtmlxcommon.js">
    <script  src="/TestSite/dwin/codebase/dhtmlxwindows.js">

Thanks for all the help,