Error : Content controls have to be top-level controls in a content page or a nested master page that references a master page.

when I make a directory on my root, and in that directory I put a masterpage and a web form ... I get always an error :

Content controls have to be top-level controls in a content page or a nested master page that references a master page.

ย 

Does somebody knowย what the problem is ? Is it possible you can't set a masterpage in a directory ... ?


Kind Regards,

Joeri Pansaerts.

From Bruges, Belgium :)
0
joeri
6/21/2008 2:57:02 PM
๐Ÿ“ asp.net.navigation-controls
๐Ÿ“ƒ 13714 articles.
โญ 0 followers.

๐Ÿ’ฌ 5 Replies
๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ 3200 Views

i've founded ... I had to nest my masterpage ...


Kind Regards,

Joeri Pansaerts.

From Bruges, Belgium :)
0
joeri
6/21/2008 5:57:27 PM

Hi Joeri Pansaerts,

I am receiving the same error as the one posted here, Could you please share your solution with me.

I am using a single Master Page.

Thank You,

Sudhe

0
sudheshnac
6/23/2008 7:30:51 AM

Hi Sudhe,

ย Are you using 2 masterpages ?


Kind Regards,

Joeri Pansaerts.

From Bruges, Belgium :)
0
joeri
6/23/2008 12:15:23 PM

Hi Joeri, Thank you for the reply.

I am using a single master page, however I had figured out the solution.

Thanks once again,

Sudhe

0
sudheshnac
6/23/2008 12:19:53 PM

hi, I also geting the same error, I am using single master page and a web form. please can any one help me to solve this problem.

0
bsvnhll
8/21/2008 8:33:15 AM