In asp.net if you add some dynamic control (button, linkbutton, textbox, checkbox etc) according to some condition and want to retain data, handle their event during postback then you should aware about asp.net server control life cycle.
Programming Tutorials And Source Code - ASP.NET,C#.NET,MVC,JQuery,JavaScript,SQL Server,Angular,WCF examples