This project is read-only.

Disable Event Postback Options

Jul 28, 2010 at 12:04 AM
Edited Jul 28, 2010 at 12:06 AM

I am develpoing a C# codebehind project and I would like to be able to disable the postback for the ZoomEnd event below.  If anyone has any suggestions fo this I would appreciate it.  Thanks

        protected void GoogleMap1_ZoomEnd(object sender, GoogleZoomEventArgs e)
        {
            Session["__View"] = ((int)GoogleMap2.DefaultMapView).ToString();
            Session["__Lat"] = GoogleMap2.Latitude.ToString();
            Session["__Lng"] = GoogleMap2.Longitude.ToString();
            Session["__Zoom"] = GoogleMap2.Zoom.ToString();
        }