[mapguide-users] ASP.NET Frames Postback problem (mapFrame is
not accessible after postback)
Jamo
adam.jamison at portbris.com.au
Tue Jan 6 23:27:22 EST 2009
Try sending the asp pages to the 'taskPaneFrame' (off the top of my head...
the one embedded within the taskFrame) instead of the 'taskFrame' I had
issues that were similar to these when i sent something to the taskFrame it
was sort of remove the taskFrame as well :confused:
nelyass.heglig wrote:
>
> Dears,
>
> I have a little problem with ASP.NET frames:
>
> When I first access the asp page everything is working fine, and the
> mapFrame is accessible via: parent.parent.mapFrame
>
> But when I make postback from the hidden frame formFrame using
> formFrame.Submit() function after sending info to the server and
> specifying the same asp page as the pageUrl and target frame is
> taskFrame, the mapFrame will only be accessible via: parent.mapFrame.
>
> The page is reloaded in the taskFrame but it works as it has been moved
> up one level.
>
> (in other words, my javascript functions for digitizing features will
> not work and it gives me and error: parent.parent.mapFame is null or not
> an object. Despite it was working properly before the postback.)
>
> I solved my problem by specifying the target frame to scriptFrame and
> leave the asp page in the taskFrame as it is without reloading it where
> the java scripts functions work fine.
>
> Have anyone come across such a problem?
> I want to know the reason of it.
>
>
> Thanks
>
> Nadir Elyass
>
>
>
> _______________________________________________
> 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/ASP.NET-Frames-Postback-problem-%28mapFrame-is-not-accessible-after-postback%29-tp1818332p2120830.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list