Select to view content in your preferred language

dojo TabContainer appearance

650
0
02-21-2014 12:52 AM
GISScientist
Deactivated User
Hi all. Hope someone out there can help.

I've been creating a mapping website using the JavaScript API (v3.7) and ArcGIS Server 10.1, initially trying out functionality such as print to PDF, Identify, draw and zoom within notepad. Everything worked fine.
I then copied/pasted my code into an ASP.net page within Visual Studio.
All my functionality works fine except for the Identify result within a dojo TabContainer.

<div id="tabs" data-dojo-type="dijit.layout.TabContainer" style="width:385px;height:150px;" onClick="identifyMove()"; >      
<div id="bldgTab" data-dojo-type="dijit.layout.ContentPane" title="Buildings"></div>
<div id="fencingTab" data-dojo-type="dijit.layout.ContentPane" title="Fencing"></div>    
<div id="pathTab" data-dojo-type="dijit.layout.ContentPane" title="Path/Track"></div>
<div id="conservTab" data-dojo-type="dijit.layout.ContentPane" title="Conservation"></div>
<div id="boundTab" data-dojo-type="dijit.layout.ContentPane" title="Boundary"></div>
</div>

[ATTACH=CONFIG]31665[/ATTACH]

Why such a difference when running from a simple HTML textfile to an ASP.net website as shown in the image above, and more importantly, how do I get it to work in ASP.net?

Any help appreciated.
0 Kudos
0 Replies