Hi. Is there any way to get a .CS file to become the code-behind file so that
it collapses under it's "owner" aspx file without creating both from scratch
inside the IDE?
Alex
Hi Alex,
Thank you for posting.
From your description, I understand you're wondering how to make a .cs file
to work as codebehind file of certain ASPX page in VS IDE , correct?
As for asp.net page's codebehind, based on my understanding, both VS 2003
and VS 2005 will automatically create a codebehind code file for each aspx
page at creating time, therefore we do not need to manually create it. Is
there anything incorret with the new page creation behavior in the VS IDE
in your environment? Anyway, ASP.NET page always provides two code
model(single file and codebehind ...), we can choose either of them as long
as we follow the requirement of each model.
#ASP.NET Web Page Code Model
http://msdn2.microsoft.com/en-us/library/015103yb.aspx
Please feel free to let me know if there is anything I missed or if you
have any other questions.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Steven Cheng[MSFT] - 29 May 2006 13:58 GMT
Hi Alex,
Have you got any progress on this issue? If still need any help ,please
feel free to post here.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)