[mapguide-users] RE: Display the Query Result in a separate popup window

Ivan Miličević Ivan.Milicevic at supranet.hr
Tue Apr 20 03:36:33 EDT 2010

Wow, you're back in bussines. You were on vacation?

It's a piece of cake. Really, this is very simple.

1. Add new frame to templ frame (be aware of new frame and of new setup in mapframe)

<frameset name="mainFrameset" rows="*,%s" frameborder="0" border="0">
    <frameset id="mainappFrame" name="mainappFrame" cols="*,%s" frameborder=0 border=0>
        <frameset id="maparea" name="maparea" rows="%s,*,0,0,0" frameborder=0 border=0>
            <frame id="tbFrame" name="tbFrame" %s noresize scrolling=no>
            <frame id="mapFrame" name="mapFrame"src="%s?MAPDEFINITION=%s&TYPE=%s&SHOWLEGEND=%s&SHOWPROP=%s&INFOWIDTH=%s&LOCALE=%s&HLTGT=%s&HLTGTNAME=%s&SHOWSLIDER=%s%s" scrolling=no border=3>
            <frame id="queryFrame" name="formFrame" noresize src="%s">
            <frame id="formFrame" name="formFrame" noresize src="%s">
            <frame id="scriptFrame" name="scriptFrame" src="../viewerfiles/blank.html" noresize >
        <frameset id="taskArea" name="taskArea" rows="%s,*" frameborder=0 border=0>
            <frame id="taskBar" name="taskBar" %s noresize scrolling=no>
            <frame id="taskFrame" name="taskFrame" %s noresize scrolling=no>
    <frame id="sbFrame" name="sbFrame" %s noresize scrolling=no> </frameset>

2. queryFrame.src = "/mapguide/MyApp/query/QueryPopup.aspx"; //This is the popup page where i want to display the Query Result
3. maparea.rows = "25,*,150,0,0" - set up values as you want
4. Hide it when you don't need it.
5. Learn JavaScript

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Tuesday, April 20, 2010 8:42 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: Display the Query Result in a separate popup window


Actually i want the Query result should be display below the mapframe as
given in the image

But I m thinking to do like this : By adding a new frame 
It will be better if within a Frame it can be display.


View this message in context: http://n2.nabble.com/Display-the-Query-Result-in-a-separate-popup-window-tp4929403p4929645.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
mapguide-users mailing list
mapguide-users at lists.osgeo.org

More information about the mapguide-users mailing list