Introduction:
Here i will explain add textbox control from code behind.
Description:
Most of user are directly drag and drop control from toolbox, but here i will explain control add in web page from code behind.
Inside the form you could put a placeholder at the location you want this textbox to appear:
ASPX:
CS:
TextBox txt = new TextBox(); txt.Width = 100; txt.Height = 100; holder.Controls.Add(txt);
0 comments :
Post a Comment