Best way to create a server-side popup over the map?

Last post 8/18/2009 3:57:36 PM by awegele. 3 replies. << Back to Web.Maps.VE v2.0 General
7/25/2009 11:14:37 AM
jeffs364

Best way to create a server-side popup over the map?

Hi

I'm hoping to open a small popup box/window of some sort over the map as an onclick event to clicking a marker.  The window will show info/images from SQL Server pertaining to that particular marker and essentially act as a larger, more flexible map infowindow - no browser tools other than a close button etc.

In the same fashion, should a user click on the map to add a new marker and info for that place, I'd like to open a similar small window over the map with a form allowing server side input to be saved (including a postback so fileuploads save).

The info and forms work ok in divs next to the map, I just want them now as popups over the map to unclutter the map screen.  What's the best way to open such a window which will display over this map?  I'm not particularly knowledgable with the AJAX tools and your forums suggest modal popups don't work great either.

Thanks in advance

Jeff

8/3/2009 6:46:07 PM
Chris Pietschmann

Re:Best way to create a server-side popup over the map?

The best/easiest way of doing this is to use the AjaxControlToolkit's ModalPopupExtender control. The Web.Maps.VE control and AjaxControlToolkit compliment each other very well since they are both build on top of ASP.NET AJAX.

I just posted an example of doing this on the Simplovation Blog, here:

Web.Maps.VE v2.0 with AjaxControlToolkit ModalPopup Extender Demo

Also, here's a screenshot of the demo in action:


8/12/2009 6:47:32 PM
jeffs364

Re:Best way to create a server-side popup over the map?

Thanks so much for that C
8/18/2009 3:57:36 PM
awegele

Re:Best way to create a server-side popup over the map?

Chris,

I have a similar need and posted it before I saw your reply but in my case, I can't use the modal popup because the underlying map is not to be dimmed as it is with an ajax modal popup.  See my post titled Semi Transparent