473,396 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Ajax UpdatePanel and Virtual Earth

Hi

We need to generate the javascript for adding the pushpins based on params
entered during the update panel update. Ie they will enter city and we want
to write back to the page the javascript for adding the pushpins and then to
fire this function using the EndRequest event.
We have the code creating the javascript ok, but the updatepanel refuses to
write this to the page and allow it to be called. Thus the map does not get
updated.

Any ideas how we can do this?

Feb 12 '08 #1
2 1037
You have to use ScriptManage.RegisterClinetScript (something like that,
donot remmeber exact method name)

George

"Martin" <Ma****@discussions.microsoft.comwrote in message
news:31**********************************@microsof t.com...
Hi

We need to generate the javascript for adding the pushpins based on params
entered during the update panel update. Ie they will enter city and we
want
to write back to the page the javascript for adding the pushpins and then
to
fire this function using the EndRequest event.
We have the code creating the javascript ok, but the updatepanel refuses
to
write this to the page and allow it to be called. Thus the map does not
get
updated.

Any ideas how we can do this?

Feb 12 '08 #2
You have to use ScriptManager.RegisterClinetScript (something like that,
donot remmeber exact method name)

George

"Martin" <Ma****@discussions.microsoft.comwrote in message
news:31**********************************@microsof t.com...
Hi

We need to generate the javascript for adding the pushpins based on params
entered during the update panel update. Ie they will enter city and we
want
to write back to the page the javascript for adding the pushpins and then
to
fire this function using the EndRequest event.
We have the code creating the javascript ok, but the updatepanel refuses
to
write this to the page and allow it to be called. Thus the map does not
get
updated.

Any ideas how we can do this?


Feb 12 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= | last post by:
I am new to AJAX. I am applying AJAX to a current web solution to get the "instant behaviour". On my main page I have two sets of criteria: Specific and Wide. Each set is placed in a View...
4
by: bbawa1 | last post by:
When I add updatePanel control in my aspx page it gives me following error. Unknown server tag 'ajax:UpdatePanel
2
by: =?Utf-8?B?VG9u?= | last post by:
Hello, I want to understand teh benefits of ajax technology. Does anyone has a good website where AJAX EXTENSIONS is worked out so I really understand it. There a 2 main questions: 1) How about...
0
by: Nightcrawler | last post by:
I hope this is the right group for this question. I recently started looking into AJAX and I am doing the following: I have a repeater (dummydata) that is bound to a datatable (Articles). Each...
7
by: MikeB | last post by:
Hello All, I am new to ajax and wanted to start by trying something simple. I have a web form with an updatepanel and then inside the update panel I have a listbox. Then outside of the updatepanel...
1
by: abellix | last post by:
An updatepanel contains a datagrid, this datagrid has columns generated by code-behind: some columns should have async postback, others should have sync postback. Here a sample to reproduce the...
1
by: =?Utf-8?B?T2xlZw==?= | last post by:
Hi, I'm wondering if anybody using ajax extensions where UpdatePanel tag is used in addition to existing ajax implementation where UpdatePanel wasn't used yet. So, there is already a web project...
4
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a...
1
by: Mark B | last post by:
This is my first try at using AJAX. I want the calendars to be enabled if the user checks CheckBox1. It works OK for a normal all page refresh but once I introduced the AJAX code it stopped...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.