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. Embedded Resource for a Web App ?

Embedded Resource for a Web App ?

Scheduled Pinned Locked Moved ASP.NET
questionjavascriptsysadminhardwarelearning
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.
  • T Offline
    T Offline
    Tee
    wrote on last edited by
    #1

    I have read so many articles talking about using RegisterClientScriptResource for loading a Js files into a page. However, i can't find "Build Action" on my properties panel for my js files. After a while, some said .... the "Build Action" property for a file is avaiable only creating a server control not the web project ??? is that true ?? If yes, then how can i inject a js file into the web page ?

    R M 2 Replies Last reply
    0
    • T Tee

      I have read so many articles talking about using RegisterClientScriptResource for loading a Js files into a page. However, i can't find "Build Action" on my properties panel for my js files. After a while, some said .... the "Build Action" property for a file is avaiable only creating a server control not the web project ??? is that true ?? If yes, then how can i inject a js file into the web page ?

      R Offline
      R Offline
      RichardGrimmer
      wrote on last edited by
      #2

      Why not just add a ? "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox </x-turndown>

      1 Reply Last reply
      0
      • T Tee

        I have read so many articles talking about using RegisterClientScriptResource for loading a Js files into a page. However, i can't find "Build Action" on my properties panel for my js files. After a while, some said .... the "Build Action" property for a file is avaiable only creating a server control not the web project ??? is that true ?? If yes, then how can i inject a js file into the web page ?

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

        The Build Action item is not available in the ASP.NET web site project. You can either use the Web Project 2005 to embed the js file or use the resource file.

        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