I have the following TextArea
which contains formatted XML:
@Html.TextArea("ConfigXmlView", System.Xml.Linq.XDocument.Parse(Model.IdentifiFIConfiguration.ConfigXml).ToString(), 20, 50, null)
The row parameter (20
in this case) seems to not affect the actual height of the text area at all. What could the problem be? And is there a way to automatically set the height of the text area to fit it's content?