Regarding the problem of Web development above the UI layout, I will introduce one for one.
Automatically adapt to the TextBox control of the input content width, which can solve the contradiction between the reserved control size and the number of users in the layout. But because the control is limited to use as a single line input: (, when entering the big piece of text, you will not be your heart, then you will do an automatically adapt to the height of TEXTBOX.
The principle and the TextBox that adapts to the width is not much, but this is more simple, because the growth in the height direction does not destroy the overall layout effect of the page (if the width will squeeze away other elements in the page), You don't need to use Agent TextBox as an actual recorded container, and you will increase
Respond to the height of OnpropertyChange event, synchronization content, and
AUTETEXTBOX DEMO: Maximum height is 200px but initotextbox demo of 3ROWS: high growth unlimited autotextBox demo:
If the maximum attribute of the control is less than or equal to 0, the growth height is not limited.
AttotextBox control source code
#region attached AutoTextBox source control using System; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; namespace WebExcel.UI.WebControls {/ ** ////