<div dir="ltr">isn't there a limit in serverconfig on the number of features that can be selected?<br><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 6:02 PM, shreepad Ranadive <span dir="ltr"><<a href="mailto:shreepadr@valuecad.com">shreepadr@valuecad.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
i also have same problem any one worked on current selection ??<br>
<br>
shreepad<br>
<div class="Ih2E3d"><br>
<br>
<br>
Tony_mg wrote:<br>
><br>
> String l_sSession = GetParameters()["SESSION"];<br>
> String l_sSelect = Request .Form ["SEL"];<br>
><br>
> MgUserInformation l_oCred = new MgUserInformation(l_sSession);<br>
> MgSiteConnection l_oSite = new MgSiteConnection();<br>
> l_oSite.Open(l_oCred);<br>
> ArrayList listEQ = null;<br>
> MgResourceService l_oResourceSrvc =<br>
> (MgResourceService)l_oSite.CreateService(MgServiceType.ResourceService);<br>
> MgFeatureService l_oFeatureSrvc =<br>
> (MgFeatureService)l_oSite.CreateService(MgServiceType.FeatureService);<br>
><br>
> MgMap l_oMap = new MgMap();<br>
> l_oMap.Open(l_oResourceSrvc, "General Public Map");<br>
> MgSelection l_oSel = new MgSelection(l_oMap);<br>
><br>
> l_oSel.FromXml(l_sSelect);<br>
> getting error at FromXML by the way i am passing more then 500 selection<br>
> MgReadOnlyLayerCollection l_cSelLayers =<br>
> l_oSel.GetLayers();<br>
> MgFeatureReader featReader = null;<br>
> for (int i = 0; i < l_cSelLayers.GetCount(); i++)<br>
> {<br>
> MgLayer layer = l_cSelLayers.GetItem(i) as MgLayer;<br>
> if ((layer != null) && (layer.GetName() == "main"))<br>
> {<br>
><br>
> Response.Write("Layer found");<br>
> }<br>
> }<br>
><br>
> any ideas , its kinda urgent . please help<br>
><br>
><br>
><br>
<br>
<br>
</div>-----<br>
Shreepad Ranadive<br>
Direcotor , Application Development<br>
ValueCAD<br>
444 Natoma St<br>
Sanfrancisco,CA 94103<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/current-selection--does-not-work-tp19305385p19305409.html" target="_blank">http://www.nabble.com/current-selection--does-not-work-tp19305385p19305409.html</a><br>
</font><div><div></div><div class="Wj3C7c">Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer -<br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a> (My Blog)<br>+61 405 847 168<br>
</div>