c# - How to get raw markup of child controls at runtime -
I am trying to create ASP.net server controls to display formatted code using this library: / P>
Here's the trick: I want to be able to express the code block in this way ...
& lt; Custom: CodeFormatter runat = "server" & gt; & Lt; ASP: label runat = "server" id = "some" text = "my text" /> & Lt; ASP: image runat = "server" id = "some" image URL = "header.jpg" /> & Lt; / Custom: CodeFormatter & gt; ... but internal tags are not actually executed. I label them & amp; The image seen as a raw text by CodeFormatter is not parsed in the form of a real server tag.
So my question is, how to stop the label from really rendering? And how can everything be reached within the custom: codeformer as raw, textual text?
My action is now & amp; Lt; & Gt; & Amp; Gt;
Thank you!
How to control the use of ITMplate, here is an article that says that your control How to extend control.
Comments
Post a Comment