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. Timing the call of a .js file

Timing the call of a .js file

Scheduled Pinned Locked Moved ASP.NET
javascripthelpquestion
3 Posts 2 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.
  • C Offline
    C Offline
    Cyberpulse
    wrote on last edited by
    #1

    I have a reference to a .js file on a masterpage that my Defaut.aspx is using. I need a value from that javascript file that is being set when the file loads, however I need that value prior to the page load of Default.aspx. My problem is that all the referenced .js files on the Masterpage are called after the Page_Load() event of Default.aspx. Is there a workaround for this ? Thanks.

    Steve EcholsS 1 Reply Last reply
    0
    • C Cyberpulse

      I have a reference to a .js file on a masterpage that my Defaut.aspx is using. I need a value from that javascript file that is being set when the file loads, however I need that value prior to the page load of Default.aspx. My problem is that all the referenced .js files on the Masterpage are called after the Page_Load() event of Default.aspx. Is there a workaround for this ? Thanks.

      Steve EcholsS Offline
      Steve EcholsS Offline
      Steve Echols
      wrote on last edited by
      #2

      So you're trying to access something that's loaded on the client side, from the server side?


      - S 50 cups of coffee and you know it's on! A post a day, keeps the white coats away!

      • S
        50 cups of coffee and you know it's on!
        Code, follow, or get out of the way.
      C 1 Reply Last reply
      0
      • Steve EcholsS Steve Echols

        So you're trying to access something that's loaded on the client side, from the server side?


        - S 50 cups of coffee and you know it's on! A post a day, keeps the white coats away!

        C Offline
        C Offline
        Cyberpulse
        wrote on last edited by
        #3

        Yea, in a way I guess I am. I am basically working with a Javascript based HTML editor on which I have created a custom button, on that button's click event I want the contents of the editor (which is developed purely in javascript) to be transferred in to a .NET string that I can use to continue my logic. So this attempt is in view of one of the solutions I have thought of for that problem.

        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