Here is a brief description of the underlying reason as to why electrons can sometimes be though of having wave properties.
In classical physics, an electron is a point-like particle as said above and have all the properties we classically associate with an electron. When we look at a subatomic scale, there is a problem. If an electron was a point-like particle orbiting the nucleus due to centripetal force, why didn't it simply emit energy due to acceleration and crash into the nucleus? If it did, that would mean that the world as we know it wouldn't exist. As a result of actual existence of the world as we know it must mean that we cannot treat the electron as a point-like particle in this situation. Also, the classical description didn't describe why there can only be discrete energy levels of an electron in a nucleus.
Quantum mechanics explains both. The reason that there is only discrete energy levels is because that is the only time that the orbit of the electron is equal to its quantum mechanical wavelength times a constant 1,2,3... forming a standing wave. If electrons have wave-like properties at this level, the entire issue goes away.
However, this description is perhaps too simplified. There is a post in the General Physics forums sticky called Physics FAQ that covers it more exhaustively.