Virtual Earth inside Updatpanels disappears and wont work after po

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

How do you use the virtual earth within a updat panel?

How do you start and call the javascript after the update panel has posted
back? it just disappears and the script added during post back using
"Me.ClientScript.RegisterClientScriptBlock(Me.GetType(), "mapstart", sc,
True)"
does not get called.

any ideas?
 
ClientScript (and script blocks in the aspx) only render on the initial
page. to have an update panel render client script, you need to use
ScriptManager, and pass it a control that is inside the update panel.

-- bruce (sqlwork.com)
 
Back
Top