<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Application do not render when trying to view using Firefox or Chrome in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573307#M53560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am still struggling with this issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a html page with "Full Map" sample under "Layout".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This sample works fine in all the browsers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I add &amp;lt;form&amp;gt; tag and wrap it around the map &amp;lt;div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get nothing using the firefox or chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;form dojoType="dijit.form.Form" id="form1"&amp;gt; &amp;lt;--- this is the form that I am talking about ---&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; style="width: 100%; height: 100%; margin: 0;"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;div id="map" dojotype="dijit.layout.ContentPane" region="center"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/div&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/form&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone encountered my problem and wish to share thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One interesting pattern that I've noticed is that &lt;/SPAN&gt;&lt;STRONG&gt;none&lt;/STRONG&gt;&lt;SPAN&gt; of the ESRI samples has &amp;lt;form&amp;gt; tag included.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is driving me crazy here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I just tell my users not to use Firefox or Chrome??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don Kang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 21:28:06 GMT</pubDate>
    <dc:creator>DonKang</dc:creator>
    <dc:date>2011-06-07T21:28:06Z</dc:date>
    <item>
      <title>Application do not render when trying to view using Firefox or Chrome</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573306#M53559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure what I am doing wrong but my javascript custom application only works in IE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And it fails in Firefox and Chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone see what is going on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am building custom application using visual studio 2010 on aspx and cs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a test, I've added sample code of "Add Dynamic Map" to my aspx page. This particular test worked on all 3 web browsers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For a second test, I've added sample code of "Full Map" to another aspx page. This time, map only&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;shows up in IE and fails on Firefox and Chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone see what is going on? Do anyone have similar problems?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One difference that I've noticed between my first test and second test is that first test do not really use any of those dojo.dijit stuff...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where second test uses dojo.dijit stuff in &amp;lt;div&amp;gt; to resize the map based on web browser size...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit.dijit"); // optimize: load dijit layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("dijit.layout.BorderContainer");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("dijit.layout.ContentPane");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Above things are only defined in the second test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could dojo possibly creating some problems?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Welcome any comments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don Kang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 21:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573306#M53559</guid>
      <dc:creator>DonKang</dc:creator>
      <dc:date>2011-05-20T21:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Application do not render when trying to view using Firefox or Chrome</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573307#M53560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am still struggling with this issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a html page with "Full Map" sample under "Layout".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This sample works fine in all the browsers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I add &amp;lt;form&amp;gt; tag and wrap it around the map &amp;lt;div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get nothing using the firefox or chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;form dojoType="dijit.form.Form" id="form1"&amp;gt; &amp;lt;--- this is the form that I am talking about ---&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; style="width: 100%; height: 100%; margin: 0;"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;div id="map" dojotype="dijit.layout.ContentPane" region="center"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/div&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/form&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone encountered my problem and wish to share thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One interesting pattern that I've noticed is that &lt;/SPAN&gt;&lt;STRONG&gt;none&lt;/STRONG&gt;&lt;SPAN&gt; of the ESRI samples has &amp;lt;form&amp;gt; tag included.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is driving me crazy here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I just tell my users not to use Firefox or Chrome??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don Kang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 21:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573307#M53560</guid>
      <dc:creator>DonKang</dc:creator>
      <dc:date>2011-06-07T21:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Application do not render when trying to view using Firefox or Chrome</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573308#M53561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I am still struggling with this issues.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I've created a html page with "Full Map" sample under "Layout".&amp;nbsp; &lt;BR /&gt;This sample works fine in all the browsers.&amp;nbsp; &lt;BR /&gt;However, if I add &amp;lt;form&amp;gt; tag and wrap it around the map &amp;lt;div&amp;gt;&amp;nbsp; &lt;BR /&gt;I get nothing using the firefox or chrome.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;&amp;lt;form dojoType="dijit.form.Form" id="form1"&amp;gt; &amp;lt;--- this is the form that I am talking about ---&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;lt;div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false"&amp;nbsp;&amp;nbsp; &lt;BR /&gt; style="width: 100%; height: 100%; margin: 0;"&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;lt;div id="map" dojotype="dijit.layout.ContentPane" region="center"&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;lt;/div&amp;gt;&amp;nbsp; &lt;BR /&gt; &amp;lt;/form&amp;gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Anyone encountered my problem and wish to share thoughts?&amp;nbsp; &lt;BR /&gt;One interesting pattern that I've noticed is that&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG style="color: &amp;quot;red&amp;quot;;"&gt;none&lt;/STRONG&gt;&lt;/SPAN&gt; of the ESRI samples has &amp;lt;form&amp;gt; tag included.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;This is driving me crazy here.&amp;nbsp; &lt;BR /&gt;Do I just tell my users not to use Firefox or Chrome??&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;thanks&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Don Kang&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you use dijit.form.Form as your root, you just need style it. something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;form dojoType="dijit.form.Form" id="form1" style="width:100%; height:100%; margin:0px; padding: 0px; border: 0px"&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 13:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573308#M53561</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-06-08T13:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Application do not render when trying to view using Firefox or Chrome</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573309#M53562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Don,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are you trying to accomplish by putting a map inside a form?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 16:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573309#M53562</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-06-08T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Application do not render when trying to view using Firefox or Chrome</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573310#M53563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heming Zhu &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your suggestion and you are right, having styles in the form tag made maps to show up in firefox and chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;form id="form1" style="width:100%; height:100%; margin:0px; padding: 0px; border: 0px"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Taking out dojoType from the form seems to behave a lot better on my custom application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll do more testing so to apply aginst my custom application but you've just resolved most of my headaches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to build a asp.net application, so that I can do some server processing, such as accessing database directly with map present. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also access or call javascript function from the server side as well. Asp.net forces you to have &amp;lt;form&amp;gt; tag and place server side controls like buttons or dropdownlist inside the form tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I can change my design layout, but my custom application require that map to sit insde the form tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am pretty new to the javascript api and no prior experience with dojo stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems to me the dojo stuff is something that I need learn more about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 17:35:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-do-not-render-when-trying-to-view/m-p/573310#M53563</guid>
      <dc:creator>DonKang</dc:creator>
      <dc:date>2011-06-08T17:35:09Z</dc:date>
    </item>
  </channel>
</rss>

