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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top