I thought I had figured this out. I thought I needed to include a using directive in the code behind page. It seemed to work at first but still no luck.