This Blog is about some useful link and some interview question in.Net. I am trying to give some useful information to you .
Sunday, 29 August 2010
Is User controls (ascx files) are allowed in the App_Code folder?
User controls (ascx files) are not allowed in the App_Code folder. This includes single-file user controls and user controls that use the code-behind model. Putting a user control in the App_Code directory causes the user control's code to be compiled out of its required sequence and therefore is not allowed. (In any event, user controls do not need to be in the App_Code folder; they are already available to pages anywhere in the application.)