The Maximum length property of Mutiline text box doesn't work.
This script can be used to set maximum length of the multiline textbox.
<asp:TextBox ID="TextBox1" onchange="MaxLength(5)" runat="server" TextMode="MultiLine" > </asp:TextBox>
<script language="javascript" type="text/javascript">
function MaxLength(maxLength)
{
text=document.getElementById('TextBox1');
if(text.value.length>maxLength)
{
alert("only max " + maxLength + " characters are allowed");
//this limits the textbox with only 5 characters as lenght is given as 5.
text.value = text.value.substring(0,maxLength);
}
}
</script>