11-23-06 12:28 PM
Hi Matt,
the easiest way to do this is in the LoadPlaceholderContent method of the
placeholder control.
This means you would need to create a custom placeholder controld derived
from the original placeholder control, override the LoadPlaceholderContent
method, call the base LoadPlaceholderContent class and then do the
modification of the content you are looking at.
Cheers,
Stefan
"Matt.Whitby" <matt.whitby@gmail.com> wrote in message
news:1164215733.019376.12600@j44g2000cwa.googlegroups.com...
> What I have:
>
> I have a template with a few editable regions on it. The main region
> contains a bunch of text.
> All fair enough so far.
>
> What i've written:
>
> I have written a routine to scan through a bunch of text looking for
> keywords/phrases and turning them into hyperlinks which point at a
> glossary page.
>
> The problem i'm having:
>
> MCMS constructs the page in some sort of cunning way and creates an
> .htm file which I then re-direct to when I want to view it.
>
> Response.Redirect(@"http://" + Request.ServerVariables["server_name"]
+
> "/nmrlearningzone/" + this.cboChannels.SelectedValue.ToString() + @"/"
> + this.lstPostings.SelectedItem.Text.ToString() + ".htm");
>
> The Question:
>
> Is there a way I can process the contents of the placeholder before
> it's rendered to the .html page? If so is there an event which is
> fired?
>
>
> All and any suggestions would be gratefully received.
>
> Matt.
> Little England
>
[ Post a follow-up to this message ]
|