<?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: info window is not showing Content ArcGIS Silverlight in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429199#M11063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Fields Are same I checked during Debug &amp;amp; Map Binding is also there &lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="color: #ff0000;"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;"{Binding ElementName=HpmEsriBaseMap}" with the map.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;dmv is my ViewModel where I have these properties. Actually I need Map Object InfoWindow, Editor to work with in my ViewModel so I assigned defiend xaml things to my ViewModel from constructor and used. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;If there is any other good way to do please let me know. I did exactly same way defiend in link provided by you as I followed that only from start. But things are not working out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;even I assign a just a texbox datatemplate with No attributes still dont show the datatemplate in info just round ball with arrow comes over geometry&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 20:36:20 GMT</pubDate>
    <dc:creator>AnandKirti</dc:creator>
    <dc:date>2014-11-06T20:36:20Z</dc:date>
    <item>
      <title>info window is not showing Content ArcGIS Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429195#M11059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/121070/datatemplate-not-appearing-in-infowindow" title="http://gis.stackexchange.com/questions/121070/datatemplate-not-appearing-in-infowindow"&gt;arcgis silverlight api - DataTemplate not appearing in InfoWindow - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Any one please help me in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 18:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429195#M11059</guid>
      <dc:creator>AnandKirti</dc:creator>
      <dc:date>2014-11-05T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: info window is not showing Content ArcGIS Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429196#M11060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't get in your code how HpmInfoWindow is defined. It looks strangly defined twice: once in XAML, once in code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the map has not the same name in XAML and in code (HpmMap vs HpmEsriBaseMap).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 18:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429196#M11060</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-11-05T18:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: info window is not showing Content ArcGIS Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429197#M11061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Project is in Prism 4.2 &amp;amp; MVVM. I defined this infowindow in xaml &amp;amp; from map.xaml.cs Constructor I assigned it to my Property in this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public HpmsBaseEsriMap()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (DesignerProperties.IsInDesignTool == false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dmv = ServiceLocator.Current.GetInstance&amp;lt;IHpmsBaseEsriMapViewModel&amp;gt;();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmv.HpmEditor = this.HpmsRoutesSelectionEditorNme;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmv.HpmMap = this.HpmEsriBaseMap;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmv.HpmInfoWindow = this.HpmInfoWindow;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmv.HpmMapTip = this.MyMapTip;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmv.BindingMap();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataContext = dmv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 14:55:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429197#M11061</guid>
      <dc:creator>AnandKirti</dc:creator>
      <dc:date>2014-11-06T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: info window is not showing Content ArcGIS Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429198#M11062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer to the SDK sample for some guidance: &lt;A href="https://developers.arcgis.com/silverlight/sample-code/start.htm#InfoWindowSimple" title="https://developers.arcgis.com/silverlight/sample-code/start.htm#InfoWindowSimple"&gt;ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the reason why you are not seeing content in InfoWindow is either binding fails or graphic attributes do not contain the same key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key elements in the SDK sample are:&lt;/P&gt;&lt;P&gt;The DataTemplate used for InfoWindow.ContentTemplate uses square brackets [] with attribute key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Text="{Binding [STATE_NAME]}" Foreground="Black" FontSize="12" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing, you have to note is that InfoWindow needs to bind to a map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:InfoWindow x:Name="MyInfoWindow"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map="{Binding ElementName=MyMap}" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContentTemplate="{StaticResource MyFeatureLayerInfoWindowTemplate}"&lt;SPAN style="line-height: 1.5;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To resolve this binding, InfoWindow.Content is set to graphic attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfoWindow.Content = g.Attributes;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graphic contains the same key for attributes because the FeatureLayer it belongs requests for the same OutFields&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer ID="MyFeatureLayer"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5" rel="nofollow" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutFields="STATE_NAME,POP2007" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not exactly sure how dmv object is used here but it also sets its DataContext with one of its properties as the HtmlInfoWindow. I suspect that somehow it's overriding the source for binding. You can check this during debug, before HtmlInfoWindow opens, check it's DataContext and Content. Also, check OutputWindow, it usually show warnings if binding fails. The method BindingMap is also unclear to me, but one thing to check is that InfoWindow.Map property is also properly set. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 18:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429198#M11062</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2014-11-06T18:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: info window is not showing Content ArcGIS Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429199#M11063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Fields Are same I checked during Debug &amp;amp; Map Binding is also there &lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="color: #ff0000;"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;"{Binding ElementName=HpmEsriBaseMap}" with the map.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;dmv is my ViewModel where I have these properties. Actually I need Map Object InfoWindow, Editor to work with in my ViewModel so I assigned defiend xaml things to my ViewModel from constructor and used. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;If there is any other good way to do please let me know. I did exactly same way defiend in link provided by you as I followed that only from start. But things are not working out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;even I assign a just a texbox datatemplate with No attributes still dont show the datatemplate in info just round ball with arrow comes over geometry&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="atv" style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429199#M11063</guid>
      <dc:creator>AnandKirti</dc:creator>
      <dc:date>2014-11-06T20:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: info window is not showing Content ArcGIS Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429200#M11064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything was right Except 1 thing.&lt;/P&gt;&lt;P&gt;My Map is insider a Dock Panel where I have a Grid so when I gave the same Column &amp;amp; Row which i Mentioned for Map to InfoWindow.I worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 21:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/info-window-is-not-showing-content-arcgis/m-p/429200#M11064</guid>
      <dc:creator>AnandKirti</dc:creator>
      <dc:date>2014-11-06T21:38:17Z</dc:date>
    </item>
  </channel>
</rss>

