set <head> from ascx

Discussion in 'ASP .Net Web Controls' started by Peter, Nov 27, 2008.

  1. Peter

    Peter Guest

    Hi have an aspx which dynamically includes some ascx's.

    One of the ascx's needs to set an element in the <head> of the page -
    is this possible from the code-behind of an ascx?

    For example, I have an ascx which can generate an RSS-feed, and this
    ascx is sometimes included on the aspx and sometimes it is not.

    If it is included on the aspx, then I would like to set the element in
    the <head> of the page which allows the browser to know to display its
    "rss image button" (something like <link rel="alternate"
    type="application/rss+xml" href="http://www.myplace/myrss.xml"
    title="RSS feed">).

    Can I do that from my ascx?


    Thanks,
    Peter

    --
    Peter, Nov 27, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian W
    Replies:
    10
    Views:
    750
    Brian W
    Jul 2, 2003
  2. showme

    PHP and ASP.NET go HEAD to HEAD

    showme, Jul 8, 2004, in forum: ASP .Net
    Replies:
    13
    Views:
    708
    Sherif ElMetainy
    Jul 10, 2004
  3. Karl
    Replies:
    0
    Views:
    383
  4. Niclas
    Replies:
    0
    Views:
    457
    Niclas
    Jun 4, 2006
  5. Jiho Han

    Write into <HEAD></HEAD> section?

    Jiho Han, Jan 14, 2004, in forum: ASP .Net Building Controls
    Replies:
    6
    Views:
    217
    Sam Fields
    Jan 16, 2004
Loading...

Share This Page