When the place of trial is changed all other proceedings shall be had in the county to which the place of trial is changed, unless otherwise provided by the consent of the parties, in writing, duly filed, or by order of the court; and the papers shall be filed or transferred accordingly.
SDCL 15-5-12