I'd prefer if this was handled without the view needing to know anything about the control that's rendering it, but fine to leave for now.