<html>
<body>
Hi everyone,<br><br>
I've an ascx control that contains the following html code:<br><br>
<font face="Arial, Helvetica"><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab></font>
<font face="Arial, Helvetica" color="#0000FF">&lt;</font>
<font face="Arial, Helvetica" color="#A31515">head</font>
<font face="Arial, Helvetica" color="#0000FF">&gt;<br>
</font><font face="Arial, Helvetica">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font face="Arial, Helvetica" color="#0000FF">&lt;</font>
<font face="Arial, Helvetica" color="#A31515">title</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">runat</font>
<font face="Arial, Helvetica" color="#0000FF">=&quot;server&quot;</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">id</font>
<font face="Arial, Helvetica" color="#0000FF">
=&quot;title&quot;&gt;&lt;/</font>
<font face="Arial, Helvetica" color="#A31515">title</font>
<font face="Arial, Helvetica" color="#0000FF">&gt;<br>
</font><font face="Arial, Helvetica">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font face="Arial, Helvetica" color="#0000FF">&lt;</font>
<font face="Arial, Helvetica" color="#A31515">meta</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">http-equiv</font>
<font face="Arial, Helvetica" color="#0000FF">
=&quot;Content-Type&quot;</font><font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">content</font>
<font face="Arial, Helvetica" color="#0000FF">=&quot;text/html;
charset=utf-8&quot;</font><font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#0000FF">/&gt;<br>
</font><font face="Arial, Helvetica">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font face="Arial, Helvetica" color="#0000FF">&lt;</font>
<font face="Arial, Helvetica" color="#A31515">meta</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">http-equiv</font>
<font face="Arial, Helvetica" color="#0000FF">=&quot;PRAGMA&quot;</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">content</font>
<font face="Arial, Helvetica" color="#0000FF">
=&quot;NO-CACHE&quot;/&gt;<br>
</font><font face="Arial, Helvetica">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font face="Arial, Helvetica" color="#0000FF">&lt;</font>
<font face="Arial, Helvetica" color="#A31515">link</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">runat</font>
<font face="Arial, Helvetica" color="#0000FF">=&quot;server&quot;</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">id</font>
<font face="Arial, Helvetica" color="#0000FF">
=&quot;styleSheet&quot;</font><font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">type</font>
<font face="Arial, Helvetica" color="#0000FF">=&quot;text/css&quot;</font>
<font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">rel</font>
<font face="Arial, Helvetica" color="#0000FF">
=&quot;stylesheet&quot;</font><font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#FF0000">href</font>
<font face="Arial, Helvetica" color="#0000FF">
=&quot;default.css&quot;</font><font face="Arial, Helvetica">
</font><font face="Arial, Helvetica" color="#0000FF">/&gt;<br>
</font><font face="Arial, Helvetica"><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab></font>
<font face="Arial, Helvetica" color="#0000FF">&lt;/</font>
<font face="Arial, Helvetica" color="#A31515">head</font>
<font face="Arial, Helvetica" color="#0000FF">&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><br><br>
</font>in the c# codebehind I mapped <br><br>
<font face="Arial, Helvetica"><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab></font>
<font face="Arial, Helvetica" color="#0000FF">protected</font>
<font face="Arial, Helvetica">
System.Web.UI.HtmlControls.</font>
<font face="Arial, Helvetica" color="#2B91AF">HtmlGenericControl</font>
<font face="Arial, Helvetica"> styleSheet;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab></font>
<font face="Arial, Helvetica" color="#0000FF">protected</font>
<font face="Arial, Helvetica">
System.Web.UI.HtmlControls.</font>
<font face="Arial, Helvetica" color="#2B91AF">HtmlGenericControl</font>
<font face="Arial, Helvetica"> title;<br><br>
</font>The title is correctly mapped and I can set his properties, the
styleSheet is always null.<br>
I'm doing something wrong?</body>
</html>