He is best known for his role as Leo Wyatt on the WB Network television series Charmed from 1998 to 2006 . He is best known for his role as Leo Wyatt on the WB Network TV series Charmed from 1998 to 2006 .