Rick,
Have you successfully done this in VS.NET? When I have tried this before in VS.NET, I get all kinds of messages and the project won't compile.
>Yes, but probably not the way you think...
>
>Codebehind specifies the name of the source file and the name of the class. Youy can just change those values and point them at a different CodeBehind file.
>
>I've done this by accident before and it seems to work actually although at the time I really screwed up my code with that <g>....
>
>
>+++ Rick ---
>
>
>
>
>>All,
>>
>>Is there a way to have multiple ASPX pages share a single code behind file in VS.Net?
>>
>>Thanks
>>
>>Rex
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi