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 use javascript in master content pages in asp.net2

how to use javascript in master content pages in asp.net2

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netcomhelp
3 Posts 3 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.
  • Z Offline
    Z Offline
    zahra yousefi
    wrote on last edited by
    #1

    Dear Friends, Hi I want to include a javascript functions file in master,and then use those functions in content pages,but it is not possible,It were working properly before using master content page,I mean when all my code was in one page. I appresiate anyone who can help thanks.

    zahra yousefi yousefi105@yahoo.com

    C M 2 Replies Last reply
    0
    • Z zahra yousefi

      Dear Friends, Hi I want to include a javascript functions file in master,and then use those functions in content pages,but it is not possible,It were working properly before using master content page,I mean when all my code was in one page. I appresiate anyone who can help thanks.

      zahra yousefi yousefi105@yahoo.com

      C Offline
      C Offline
      CWIZO
      wrote on last edited by
      #2

      Define not working.

      -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

      1 Reply Last reply
      0
      • Z zahra yousefi

        Dear Friends, Hi I want to include a javascript functions file in master,and then use those functions in content pages,but it is not possible,It were working properly before using master content page,I mean when all my code was in one page. I appresiate anyone who can help thanks.

        zahra yousefi yousefi105@yahoo.com

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        Hi there, That's possible that you can link to a javascript file with some functions in the master page so that you can use them in the content page. I'm afraid that there's something wrong in your case, so you might be more specific how you use the client side file in the master page.

        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