Could not load class 'dijit.layout.BorderContainer

430
1
12-03-2012 10:53 PM
Udaya_BhaskerCheerala
New Contributor
Hi All,
I have developd a map with TOC, Navigation Toolbar and some other query options using Javasctipt API in .aspx page. When I run it individually, it is working perfectly, but I want to embed it into another .net application.

In .NET application I have a page with one dropdown with various options. Upon selection of option from dropdown I need to show the above said map.

Iam getting below error.

**Message: Could not load class 'dijit.layout.BorderContainer
Line: 15
Char: 133114
Code: 0
URI: http://myserver/arcgis_js_api/library/3.1/jsapi/**

I have hosted Javascript API in my local IIS.

Can anyone help me how to resolve the above issue.

Thanks,
Uday
0 Kudos
1 Reply
BenFousek
Occasional Contributor III
What do you mean embed in another .net app?

When you get the the 'Could not load class 'dijit.layout.BorderContainer' it's usually because of a javascript syntax error, like a missing ;, malformed code, etc. The reason you get the BorderContainer error is because it's the first thing dojo parses in your code. I suspect in your case there is some conflict when you put it all together. Post some code or the stack from the error.
0 Kudos