[mapguide-users] Taskpane in Mapguide Maestro
padmini godavarthi
godavarthi.padmini at gmail.com
Tue Dec 30 04:59:14 EST 2008
Hi,
Thanks for u r reply.
Now i want to do thematic mapping programmetically.
1) can u send me the code (either in php or in .net ) so that it will be
very helpful to me.
Thanks and Regards,
Padmini
Kenneth Skovhede, GEOGRAF A/S wrote:
>
> The easy way is to assign a common page, ea. redirect_on_startup.aspx,
> and
> then use that page to forward to the desired page.
>
> The other way is to save a modified copy of the WebLayout as a temporary
> item.
> An untested exaple would be:
> ServerConnectionI con; //<-- Assign this
> WebLayout wl = con.GetWebLayout("Library://mylayout.WebLayout");
> wl.TaskPane.InitialTask = "http://www.example.com/my_special_page.html";
> string tempid = ResourceIdentifier("xx", ResourceTypes.WebLayout,
> con.SessionID);
> con.SaveResourceAs(wl, tempid);
>
> //Redirect to the temp weblayout:
> Response.Redirect("/mapguide/mapviewerajax/?WEBLAYOUT=" +
> Server.UrlEncode(tempid) + "&SESSION=" + Server.UrlEncode(con.SessionID));
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> padmini godavarthi skrev:
>>
>> Hi,
>> Iam using Mapguide Opensource 2.0 (wiht .Net 2.0 +IIS 5.1).
>> Iam Creating my mapdata using Mapguide Maestro. Now i want to add my
>> custom
>> page to the ajax viewer weblayout.
>>
>> I gave My Customize Web Page path in
>>
>>
>> initial task in taskpane
>>
>> for exqample i gave the path (../sampleapplication/customize.aspx)
>>
>> but i want to gave this path dynamically (through programmetically) to
>> the
>> Weblayout
>>
>> 1) Can u plz tell me the way so that it will be very helpful to me.
>>
>> Thanks and Regards
>> Padmini
>>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/Taskpane-in-Mapguide-Maestro-tp1819393p2091852.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list