interviews.dotnetthread.com

↑ Grab this Headline Animator

Wednesday, August 20, 2008

Can we place user controls in App_Code folder?

User controls are not allowed in the App_Code folder. This includes both single-file u ser c ontrols and u ser c ontrols that use the code-behind model . Putting a u ser control .in the App_Code directory cause s the u ser c ontrol's code to be compiled out of its required sequence and therefore is not allowed. Note that u ser control s do not need to be in the App_Code folder; they are already available to pages anywhere in the application.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles