Virtual Earth inside Updatpanels disappears and wont work after po

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?
 
B

bruce barker

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,526
Members
44,997
Latest member
mileyka

Latest Threads

Top