I\'m trying to add controls dynamically
Code:
AddVisaControl.ascx
<%@ Control Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"AddVi
if you remove the static 'i' variable and use a hidenInput to maintain the no of created controls (or a session value) you will be fine.
But I suggest you read the following article to find a better way of creating dynamic controls :
Dynamic control creation in ASP.NET