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

  1. #1

    Default Re: Code into head tag

    Here's a way to get a Title into the Head section using code behind:

    How do I set the title of an aspx page programmatically
    [url]http://www.aspalliance.com/kenc/faq5.aspx[/url]

    Ken

    "Arran Pearce" <arran.pearce@bacoll.ac.uk> wrote in message
    news:%23OSkTFhTDHA.2824@tk2msftngp13.phx.gbl...
    Hi,

    I am wanting to insert code (probably by using a Literal control) into the
    head tag of some of my pages. I am wanting to do this from the code behind
    file.

    is this possible?

    many thanks for any help

    Arran



    Ken Cox [Microsoft MVP] Guest

  2. Similar Questions and Discussions

    1. Add JavaScript Code to head
      We use a customized button for submitting forms or links at work. The code combines DHTML elements for the look and functionality of the button. ...
    2. Inserting code into <head> of document
      Hi all, It seems that devforums.macromedia.com no longer exists or at least I can't connect to it. I have built some easy commands that insert...
    3. add some code to the page <HEAD>
      Is it possible that my user control can add code to the HEAD of the parent page that hosts the control?
    4. Insert Code Into Head
      Hi, I just started creating my own extensions. I'm just wondering how I can make an object extension insert code into multiplae areas of the...
    5. Injecting code into the <head></head> section
      Hi All, I have a web user control that, among other things, provides Print this page, and Email this page functionality I have this script that...
  3. #2

    Default Re: Code into head tag

    Thanks for the info.


    "Arran Pearce" <arran.pearce@bacoll.ac.uk> wrote in message
    news:%23OSkTFhTDHA.2824@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > I am wanting to insert code (probably by using a Literal control) into the
    > head tag of some of my pages. I am wanting to do this from the code
    behind
    > file.
    >
    > is this possible?
    >
    > many thanks for any help
    >
    > Arran
    >
    >

    Arran Pearce 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