The solenoid is "long and flat": its turns define a plane; the magnetic moment $mathbf{M}$is perpendicular to that plane (normal direction). Let us take $\mathbf{M}' = M\,\hat{\mathbf{z}}$ $There is no electric moment$ \mathbf{p}' = 0$.
In the laboratory system S, the solenoid moves with velocity$\mathbf{v} = v\,\hat{\mathbf{x}}$ parallel to the flat surfaces (hence, perpendicular to $\mathbf{M})$
Under a boost with velocity$\mathbf{v}$ the electric dipole moment $\mathbf{p}$ and magnetic dipole moment $\mathbf{m}$ transform according to:
The magnetic moment in S increases by a factor of \gamma, and an electric moment appears perpendicular to $\mathbf{v} and to \mathbf{M}$
For $v \ll c (\gamma \approx 1)$
In CGS: $\displaystyle \mathbf{p} \approx \frac{1}{c}\,\mathbf{v} \times \mathbf{M}$.
In SI: the factor is $1/c^2$ $\displaystyle \mathbf{p} = \frac{1}{c^2}\,\mathbf{v} \times \mathbf{M}$ (with $\mathbf{M} in A·m²$)
Magnitude (if $\mathbf{v} \perp \mathbf{M})$: $p = \dfrac{v}{c}\,M (CGS)$ or p = \dfrac{v}{c^2}\,M$(SI). Direction: perpendicular to$ \mathbf{v} $and to$\mathbf{M}$, that is, parallel to the flat surfaces but perpendicular to the motion.
p \approx \frac{v}{c}M \;\;(\text{CGS}), \qquad p \approx \frac{v}{c^2}M \;\;(\text{SI}).
The electric moment appears because, when in motion, the currents that produce the magnetic moment are no longer simultaneous in the new system, generating an effective dipolar charge distribution.