protected override void RenderContents(HtmlTextWriter output) { TextBox txtBox = new TextBox(); txtBox.ID = "txtBox"; txtBox.AutoPostBack = true; txtBox.TextChanged += new EventHandler(txtBox_TextChanged); txtBox.RenderControl(output); } protected void txtBox_TextChanged(object sender, EventArgs e) { }
<input id="txtBox" type="text" name="txtBox"></input>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)