Author: mcupryk | Posted on: 6/5/2009 4:47:52 PM | Views : 490

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 ...