<?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 help needed... in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63766#M1600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating a new featurelayer at runtime, setting its url and other properties. After adding it to the map control, I give this graphicslayer object to featuredatagrid and update the layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer f1 = new FeatureLayer();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;f1.Url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/ArcGIS/rest/services/abc/MapServer/15" rel="nofollow" target="_blank"&gt;http://myserver/ArcGIS/rest/services/abc/MapServer/15&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MyDataGrid.GraphicsLayer = f1 as GraphicsLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MyDataGrid.UpdateLayout();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;problem is that graphic layer is added to the map and featuredatagrid is showing number of counts but there are no rows and columns showing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;means data is now showing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will appreciate your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rizwan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Oct 2010 11:19:37 GMT</pubDate>
    <dc:creator>Engr__RizwanAlvi</dc:creator>
    <dc:date>2010-10-14T11:19:37Z</dc:date>
    <item>
      <title>help needed...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63766#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating a new featurelayer at runtime, setting its url and other properties. After adding it to the map control, I give this graphicslayer object to featuredatagrid and update the layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer f1 = new FeatureLayer();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;f1.Url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/ArcGIS/rest/services/abc/MapServer/15" rel="nofollow" target="_blank"&gt;http://myserver/ArcGIS/rest/services/abc/MapServer/15&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MyDataGrid.GraphicsLayer = f1 as GraphicsLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MyDataGrid.UpdateLayout();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;problem is that graphic layer is added to the map and featuredatagrid is showing number of counts but there are no rows and columns showing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;means data is now showing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will appreciate your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rizwan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 11:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63766#M1600</guid>
      <dc:creator>Engr__RizwanAlvi</dc:creator>
      <dc:date>2010-10-14T11:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: help needed...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63767#M1601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to set OutFields. FeatureDataGrid need to know which fields need to be displayed and that is controlled by the layer's OutFields. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; FeatureLayer layer = new FeatureLayer()
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; Url = "http://serverapps.esri.com/ArcGIS/rest/services/California/MapServer/8"
&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp; layer.OutFields.Add("*");
&amp;nbsp;&amp;nbsp; MyMap.Layers.Add(layer);
&amp;nbsp;&amp;nbsp; MyDataGrid.Map = MyMap;
&amp;nbsp;&amp;nbsp; MyDataGrid.GraphicsLayer = layer;
&amp;nbsp; }
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63767#M1601</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-10T22:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: help needed...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63768#M1602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Its done, now its working...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 03:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-needed/m-p/63768#M1602</guid>
      <dc:creator>Engr__RizwanAlvi</dc:creator>
      <dc:date>2010-10-15T03:58:03Z</dc:date>
    </item>
  </channel>
</rss>

