|
Creating content pages on the fly?
Does anyone know if it's possible to create content page for an ASP masterpage on the fly? Basically i have records being loaded into a news column via an ASP DataList control and i've made the title of the news become a link automatically, by makin the newly inserted record's ID be parsed with the words 'news.aspx', this is then a genuine link to a page. So the new news item is automatically linked on the fly but this link needs to be fulfilled, i.e. with a contet page for the master with URL, '[ID] + "news.aspx"' and then whatever text for the news was inserted with the record can be put into a <div></div> using the Controls.Add('') etc.
But i can't figure out how to get it to create one one the fly, and nowhere can i find a reference to 'webforms', 'contentpage' etc etc.
I can post code but it doesn't really make a diff, i just put the reason behind needing to create a page on the fly just to give a clear picture... i've probably confused peeps though!
Thanks guys/gals,
Boog's
__________________
Price is what you pay... Value is what you get.
|