May 11, 2015, 7:44 PM
Label AutoHeight in code behind
Hello,
I am trying to get a label to wrap long text to multiple lines.
In the declarative syntax I am able to accomplish this with AutoHeight="true".
Thanks!
I am trying to get a label to wrap long text to multiple lines.
In the declarative syntax I am able to accomplish this with AutoHeight="true".
<ext:Label ID="Label1" runat="server" Width="600px" AutoHeight="true" Text="long text......."/>
However, I have not found any equivalent method or property that would set AutoHeight to true if I create the label dynamically..Ext.Net.Label label = new Ext.Net.Label();
Please let me know where I should look.Thanks!
Last edited by Daniil; May 30, 2015 at 3:04 PM.