Hi,
I created a web site with admin control with C# ASP.Net. Admin can create a new button1 with button2.I did this. but when admin login again the created button is not seen.I guess I should save this created button at SQL Server but I have no idea how should I do.Could you help me please?
My code which create dinamically button is here;
Button btn2 = new Button();
btn2.ID = "btnEdit";
btn2.Text = txtKategoriEkle.Text;
btn2.Attributes.Add("OnClick", "btnEdit_Click");
btn2.Attributes.Add("onclick", "my_javascript_function");
form1.Controls.Add(btn2);