There are at least 150 genes associated with autism, and I have no doubt that it is both genetic and environmental. About many other conditions they say that "genes load the gun, and environment pulls the trigger".
The actor Robert De Niro (who is no fool, by any means) has an autistic son, and he is adamant that the kid was perfectly normal until he got vaccinated.