This project is read-only.

How to Use Page.FindControl in Contacts.aspx

Nov 7, 2011 at 11:10 AM

Hi All!

I've created a custom page based on BlogBasePage and added more controls on the page.

I can't get the following code to work. It's not finding the controls.

Control apartmentDiv = Page.FindControl("ApartmentDiv");

I created a test page based on typical .aspx page and the code above worked. But I want my page to look and feel like a blogengine page and work inside my blog.

It there anything about BlogBasePage that I need to know?