The entire page's partial classes (ASPX + code-behind) are compiled to an assembly in Website projects.
As for the topic under discussion, unless the OP clarifies *why* he would want to do this, it is difficult to provide accurate advice. Sure, you could do it, but I can think of no ostensible reason to transfer UI centric code to a class library that is then referenced by the page code. On Oct 8, 10:28 pm, Peter Smith <[email protected]> wrote: > On Mon, Oct 5, 2009 at 10:57 AM, Vikas K M <[email protected]> wrote: > > > > > Miggety, > > Your understand is perfect. I am expecting if this can be done. > > I think this is how a Web site project works, isn't it? The code-behind gets > compiled into a DLL?
