I added an AdRotator control to my master page. It seems to work fine.
But if I set it's visible property to False, and then place the following
code in the page (actually, it's in another, nested, master page):
void Page_Load()
{
AdRotator ads = (AdRotator)Master.FindControl("adrot");
ads.Visible = true;
}
Nothing happens. There is no sign of the AdRotator control when I preview my
page.
Can anyone see what I'm doing wrong?
Thanks.
Jonathan
Jonathan Wood - 04 Sep 2007 04:42 GMT
Nevermind. The nested master pages we not organized exactly as I was
thinking.
Jonathan
>I added an AdRotator control to my master page. It seems to work fine.
>
[quoted text clipped - 15 lines]
>
> Jonathan