static string GetNeededType(string typeName) { switch(typeName) { case "Accordion": return "AccordionExtender"; default: return typeName; } }