User-2050257987 posted
I have a custom control that contains a list of custom items. The item has a text property which can be set from the inner text of the control declaration much like a hyperlink control.
<pre:mycontrol>
<pre:myitem>This is the inner text</pre:myitem>
</pre:mycontrol>
When I reformat an aspx doucment containing my control this occurs.
<pre:mycontrol>
<pre:myitem>
This is the inner text
</pre:myitem>
</pre:mycontrol>
The inner text of the control is split across several lines. I want myitem to behave like an <asp:hyperlink> control which does not split the inner text when reformatted. Any ideas how to get this behavior?