How to update and execute existing(client-side) java sctipt

  1. #1

    How to update and execute existing(client-side) java sctipt

    Hi All,

    I do not know how to update data in my google map on ajax event.

    On page load I use google map API to generate server-side java script and call ClientScriptManager.RegisterStartupScript(...).

    After 30 seconds I want to update map. Client-side generates axaj event, but I do not know how to
    execute new server-side generated google map java script.

    There is not problem for me when I work with PostBack. I generate server-side java script and
    call ClientScriptManager.RegisterStartupScript(....) again, but I want to use Coolite ajax events.

    Any idea.
    Thanks in advance.

    Zhivko Tropchev
  2. #2

    RE: How to update and execute existing(client-side) java sctipt

    Hi,

    Any Coolite control (including ScriptManager) has AddScript method which can register a script during AjaxEvent
  3. #3

    RE: How to update and execute existing(client-side) java sctipt

    Thank you Vladi,

    I am new in Coolite library. I want to ask you is this right approach to register new java script or
    I have to use ux:GMapPanel.
    Will I have update problem if I use ux:GMapPanel and ajax events.

    Thanks.

Similar Threads

  1. Replies: 1
    Last Post: Nov 18, 2011, 5:29 PM
  2. Execute Ajax/Direct Event from Client-Side?
    By Tbaseflug in forum 1.x Help
    Replies: 5
    Last Post: Dec 16, 2010, 5:35 PM
  3. [CLOSED] Wait for DirectMethod to execute client side...
    By tjbishop in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 17, 2010, 10:29 PM
  4. Bind existing Grid to Client-Side datasource
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Oct 30, 2009, 5:46 PM
  5. update existing tab
    By idrissb in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 14, 2008, 12:28 PM

Posting Permissions