Author: bac1n | Posted on: 8/1/2008 8:52:46 AM | Views : 314

Hi all,
I have several ASPX pages and ASCX controls and their respective codebehinds living on a website that's going live next week. All the aspx pages have their corresponding codebehinds right next to them in the same directory. The website is owned and operated by a different department, so I've grouped all my personal stuff into a single VS solution that compiles to a single dll. I'd like to move all the codebehinds off this site, so that it's just the ASPX pages which feed off the single DLL.
Sounds simple enough. Only, when I copy my dll to the bin directory and remove the codebehinds, problems occur. On some (not all) of the files, I get an error saying that so-and-so's codebehind file can't be found. Looks like the ASPX page is still looking for the physical codebehind aspx.cs file instead of looking to what's in my happy snappy DLL. Other ASPX and ASCX files work fine, but there are about two which refuse to cooperate.

S ...

Go to the complete details ...