Do control panels need a CE mark?

If they are sold to an end user for him to integrate into a system, yes. If they are sold only to a machine builder who assembles the final product, no.