At first sight it appears that adding a control to a form dynamically is quite simple. In fact, adding control to a form is easy. The problem is when you need to make a postback control disappear perform. This section discusses why a dynamically added controls disappear on postback and how to stop it disappearing. I also discuss how to get value from a dynamically created control. First we need to create a page that has a placeholder for [...]
Home » Posts tagged "add controls dynamically asp.net"