<asp:TextBox ID="post" runat="server" CommandArgument="<%#Container.DataItemIndex %>" Text=' <%#DataBinder.Eval(Container.DataItem, "Message")%>' Font-Size="Smaller" TextMode="MultiLine" Enabled="true" OnLoad="resizeTextBox(this)" OnCommand="txtSuggestion_Command" Width="290px" ><%--onkeyup="AutoGrowTextArea(this)" --%> this is textbox in .ascx page <script type = "text/javascript"> function resizeTextBox(txt) { txt.style.height = "1px"; txt.style.height = (1 + txt.scrollHeight) + "px"; } </script>m
textarea
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)