set <head> from ascx

P

Peter

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

--
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top