Use user control in the same folder as the page.
Posted
by Alex
on Stack Overflow
See other posts from Stack Overflow
or by Alex
Published on 2010-06-03T08:31:32Z
Indexed on
2010/06/03
8:34 UTC
Read the original article
Hit count: 134
ASP.NET
|usercontrols
I get this message at runtime of ASP.NET 2 page :
The page 'MyFolder/blabla.aspx' cannot use the user control 'MyFolder/MyControl.ascx', because it is registered in web.config and lives in the same directory as the page.
Of course I can separate them to 2 different folders and thus solve the problem, but the question is :
WTF !?!?! Why I can't put them in the same folder ?! Why can't they all .. get along !?! :)
Thanks
© Stack Overflow or respective owner