Is epilepsy a disease that can be transmitted?

My grand father had epilepsy and the child of my girlfriend's brother got epilepsy also.
Should i worry that my kids will have epilepsy too?