I am trying to add a WMS layer to my map using the following format, and my webpage is choking. Can anyone help? Thanks!In my XAML file:<esri:WmsLayer ID="WMSLayer"
Url="http://www.datafinder.org/wmsconnector/com.esri.wms.Esrimap/MN_MetroGIS_DataFinder_WMS_Planning_Development?"
Initialized="WmsLayer_Initialized"/>
In my XAML.vb file: Private Sub WmsLayer_Initialized(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim myWmsLayer As ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer
myWmsLayer = TryCast(MyMap.Layers("WMSLayer"), ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer)
' You can control the visibility of which WMS layers are displayed by adding the
' sub-LayerID's to the String Array.
Dim myVisibleWmsLayers() As String = {"mnrra_a"}
myWmsLayer.Layers = myVisibleWmsLayers
End Sub