[mapguide-users] Re: tips on invoke url scripts

SteveS steve.calpoly at gmail.com
Fri Dec 30 16:55:25 EST 2011


For anyone trying to do this in ASP 
I tracked down a solution. Put your function that digitizes and posts to the
server in your script tag. Then in your pageload method use this:

        if (!this.IsPostBack)
        {
            ScriptManager.RegisterStartupScript(Page, Page.GetType(),
"ArbitraryName", "YourFunctionName();", true);
        }

For me, the function was only processed the first time the page was loaded. 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/tips-on-invoke-url-scripts-tp7138730p7139097.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list