This project is read-only.

How to add a new page

Topics: ASP.NET 2.0, Themes
Mar 12, 2014 at 8:32 PM
According to my requirement, I want to do this:

1) Have a homepage (not blog as homepage) - For this I want to use default page as homepage because if I create new page from admin side, i can't write custom code for that as page is dynamic

2) Create Blog page where I have blog posts content.

What I did:

In VS2013, I added a new page" Blog.aspx" and copied the content from default page / .cs file to Blog page.

I get error "Blog does not containb a definition for CurrentInstance"

Please advise - how to accomplish what I want to do ?