A friend of mine put a primer on her tile and grout. She then painted both white. That was about a year and a half ago and it still looks good. She used products recommended at the home imporvement store. They said that the primer would stick on glass. She got great results.