string controlnameid = "uxLookupField" + state + "TicketStatus";
I need to put the string controlnameid
I will not know the name of the control util runtime:
that it is uxLookupFieldOpenTicketStatus or uxLookupFieldClosedTicketStatus
System.Web.UI.WebControls.DropDownList ddl = (DropDownList)uxLookupFieldOpenTicketStatus.FindControl("LookupFieldTicketStatusDropDown");
'"uxLookupFieldOpenTicketStatus"
System.Web.UI.WebControls.DropDownList ddl = (DropDownList)controlnameid .FindControl("LookupFieldTicketStatusDropDown");
Any help would be appreciated.
...
Go to the complete details ...