[mapguide-users] Re: Upgrading MaestroAPI

Gunter Becker gunter.becker at csogis.de
Thu Nov 24 09:31:11 EST 2011


Thanks Jackie,

I'll give it a try. I think that would be a good example for the
SampleWeb-Application in the SDK.

So, now I have no compiler errors anymore but now I have a problem in
getting a WebLayout from the server (UnvalidCastException):

    IWebLayout2 webLayout =
(IWebLayout2)Connection.ResourceService.GetResource(webLayoutId);

This gives me an object of "UntypedResource" class. The
ResourceType-Property says that it is of type "WebLayout".

Any idea?

Gunter

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Upgrading-MaestroAPI-tp7019938p7028300.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list