tags:

views:

36

answers:

2

I have an ASP.Net site and one page will not load the ASP.Net themes even though it works for everything else. It's in the same directory as other pages that work. It uses the same master page as working pages. But for some reason it's not emitting the <link> element for the style.

Paging is not disabled on the page, and it is enabled across the entire site where it works correctly.

The page isn't incorrect because of a caching issue. I've burned both the site cache and the browser cache and cycled the AppPool involved.

A: 

have you set the theme in the page directive?

Theme="yourTheme"
Muhammad Akhtar
A: 

As it turns out, themeing is done in the Page.OnInit(EventArgs) call. I had forgotten the base.OnInit(e); at the end of the call to setup themes on this one page.

Orion Adrian