Friday 15 May 2015

c# - Literal content is not allowed within a UserControl -


How does it include a text in the tag under my control?

  & lt; Uc: My Runat = "Server" & gt; Text & lt; / Uc: My & gt;  

There is a complex table in my control and I want to insert the text into one cell. How to do this?

  [resident (false)] [pars childon (true, "lesson")] Public Partial Class Required Field Marker: User Control, ItextControl {[Category ("Settings")] [DurabilityMode (StabilityMode.EncodedInter Default Property)] Get Public String Text {Return {return lblName.Text; } Set {lblName.Text = value; }}}  

No comments:

Post a Comment