hi all
I want to add button to multiline textbox.
I tried this way but not succeeded you can also see snopshot attched.
Asp
----------
<div>
<asp:TextBox ID="txt" runat="server" AutoPostBack="true" OnTextChanged="txt_TextChanged" TextMode="MultiLine" ></asp:TextBox>
<asp:Panel ID="Panel1" runat="server" ></asp:Panel>
</div>
C#
----
protected void txt_TextChanged(object sender, EventArgs e)
{
Panel panel1 = new Panel();
panel1.ID = "panel1";
txt.Controls.Add(panel1);
Button btn1 = new Button();
btn1.ID = "btn1";
btn1.Text = "Save";
panel1.Controls.Add(btn1);
}