Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to add javascript function dynamically

how to add javascript function dynamically

Scheduled Pinned Locked Moved ASP.NET
javascripttutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    karthick n mca
    wrote on last edited by
    #1

    how to add javascript function dynamically?? any special methods available.. Karthick.N

    C J J 3 Replies Last reply
    0
    • K karthick n mca

      how to add javascript function dynamically?? any special methods available.. Karthick.N

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      RegisterClientScriptBlock is what you want.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • K karthick n mca

        how to add javascript function dynamically?? any special methods available.. Karthick.N

        J Offline
        J Offline
        J a a n s
        wrote on last edited by
        #3

        http://msdn2.microsoft.com/en-us/library/ms178207.aspx [^]

        *jaans

        1 Reply Last reply
        0
        • K karthick n mca

          how to add javascript function dynamically?? any special methods available.. Karthick.N

          J Offline
          J Offline
          John ph
          wrote on last edited by
          #4

          karthick.n.mca wrote:

          how to add javascript function dynamically?? any special methods available..

          In ASP.NET 1.1 ServerControl.Attributes.Add Page.RegisterStartupScript Page.RegisterClientScriptBlock In ASP.NET 2.0 ServerControl.onClientClick ClientScript.RegisterStartupScript ClientScript.RegisterClientScriptInclude

          Regards
          J O H N :rose:
          "Even eagles need a push." David McNally


          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups