In 2004 , she was cast as Maddie Fitzpatrick in Disney Channel 's The Suite Life of Zack & Cody , and she rose to prominence in 2006 as Sharpay Evans in the television film High School Musical .
She also played candy counter girl , Maddie Fitzpatrick , on the Disney Channel television series The Suite Life of Zack and Cody .