TextArea - features


TextArea with html value

Here is h1 value

This pararmag

About this example


TextArea key features
  • Themable & supports jQuery CSS Framework
  • Support width and height setting in stead of rows and cols.
  • Supports resizable.

Use Value method to set the html value or plain text value for TextArea.

<%
// Set html value directly
Ajax.Dna().TextArea()
       .Width(300)
       .Height(200)
       .Value(()=>{
       %>
       <p>Your html value here.p>
       <%
       })
       .Render();
%>

<%
// Set text value 
Ajax.Dna().TextArea()
       .Width(300)
       .Height(200)
       .Value("TextArea value")
       .Render();
%>