protectedvoid Page_Init(object sender, EventArgs e){ if (IsPostBack){//Method to get the control which caused postbackcause = GetPostBackControl(Page);//To make sure new dropdownlist get create on click of create DropDownListif (cause != null && cause.ID.Equals("btnCreate")){CreateDropDownListControl();}//To re-create control in case of any postback excluding click of Create DropDownListelseif (cause == null || !cause.ID.Equals("btnCreate")){CreateDropDownListControl();}}}