Ajax UpdatePanel and Virtual Earth

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?TWFydGlu?=

    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?



  • George Ter-Saakov

    #2
    Re: Ajax UpdatePanel and Virtual Earth

    You have to use ScriptManage.Re gisterClinetScr ipt (something like that,
    donot remmeber exact method name)

    George



    "Martin" <Martin@discuss ions.microsoft. comwrote in message
    news:315716E9-4905-49F3-9997-6AE78632897A@mi crosoft.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?
    >
    >
    >

    Comment

    • George Ter-Saakov

      #3
      Re: Ajax UpdatePanel and Virtual Earth

      You have to use ScriptManager.R egisterClinetSc ript (something like that,
      donot remmeber exact method name)

      George



      "Martin" <Martin@discuss ions.microsoft. comwrote in message
      news:315716E9-4905-49F3-9997-6AE78632897A@mi crosoft.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?
      >
      >
      >


      Comment

      Working...