ArcGis API for javascript sample (WorldTopographicMap)

346
1
09-13-2011 01:27 AM
zeeshanbhatti
New Contributor
Hi
i am using the sample link http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm

i want to use server controls. But when i use <form runat="server" id="form1"></form>. I cant see the map.

<body class="claro">
   <form runat="server" id="form1">
    <div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false" style="width: 100%;
        height: 100%; margin: 0;">
        <div id="map" dojotype="dijit.layout.ContentPane" region="center" style="border: 1px solid #000;
            padding: 0;">
        </div>
    </div>
   </form>
</body>
</html>.

i made an application last year using Arcgis API javascript but could not continue due to some offical approvals. it was working using form tags but now i dont know why. kindly explain the reason and updates.

Thanks
Regards
Zeeshan
0 Kudos
1 Reply
JeffPace
MVP Alum
without more of your code it is hard to tell, but the upgrade from dojo 1.5 to 1.6.1 included in the later api version did break some items related to bordercontainers and contentpanes
0 Kudos