Include files in .NET

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Include files in .NET

    Hi,

    Does anyone know the syntax to include a .js file in an
    ASPX page.

    Colm
    Colm Guest

  2. Similar Questions and Discussions

    1. editing include files
      Can you explain in more detail how you got includes to work using Cold Fusion and Contribute. I've found that they don't display correctly in edit...
    2. how do I hide database connection files using PHP include files?
      I have the following at the beginning of the PHP page: <?php require_once('Connections/conn.php'); ?> I want to hide the connection file,...
    3. Include Files Dynamically
      Hey there ! I made my own WebControl, that inherits from WebControls, and i added an HtmlTable to it. I would like to include a file,...
    4. DM MX and Include files
      We recently converted from MS Interdev to DW MX and I have copied the files for our existing site into a local site in DW. Most of our pages have SSI...
    5. include files
      Hi all, I used to use the include statement in classic asp to centralise my database connection, is there a better way in asp.net, whats the...
  3. #2

    Default Re: Include files in .NET

    The syntax hasn't changed from old ASP.

    Here's the HTML to include some client side javascript on your page:
    <script language="JavaScript" src="/myjsSubDir/mycode.js"></script>

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Colm" <colm@nospam.com> wrote in message
    news:03de01c35b95$8d9542d0$a401280a@phx.gbl...
    > Hi,
    >
    > Does anyone know the syntax to include a .js file in an
    > ASPX page.
    >
    > Colm

    Steve C. Orr, MCSD Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139