. . "After the parties submitted affidavits and other materials, the trial court" . .