It looks like you're creating an aspx page and you're not inheriting a master page class that has all the necessary CMS code in it. Check out the documentation for developing ASPX pages in Kentico.
Otherwise you might want to look at creating a web part and placing it on a regular page in the content tree.