Actually I am within a custom control.
The control (FlashControl) will give a way to change many of the parameters
and variables to the html markup to embed the flash movie in a webpage.
One of the properties of the control is called NoFlashContent and is a
System.Web.UI.WebControl.PlaceHolder.
In the html markup of the control I output the javascript to check for the
FlashPlugin. In the JS there is an else{} statement that is called when the
FlashPlugin is not on the browser.
This is where the NoFlashContent PlaceHolder comes into play.
I would like to be able to drop controls into the placeholder (n^ deep) and
when all the controls are rendered in the PlaceHolder their HTML output will
be caught and wrapped into document.write() statements.... I was thinking
that I could just place the PlaceHolderControl between to LiteralControls
like:
LiteralControl--- document.write('
PlaceHolder
LiteralControl--- ');
But I will still need to have the raw html so I can escape(JavaScript) any
of the ' characters that might be in the rendered in the PlaceHolder Child
Controls.
I am creating the child controls in the overriden CreatChildControls memthod
but this doesn't give me the already rendered HTML of the child controls?
Thanks for you time,
Ron Vecchi
"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:Ut**************@cpmsftngxa06.phx.gbl...
Hi Ron,
Based on my research and experience, one way I can suggest is that you can
author your own customer control and then override the CreateChildControls
method
For more information, please check the following url.
Authoring Custom Controls
http://samples.gotdotnet.com/quickst...authoring.aspx
Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.
Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.