Can I break a codebehind file up into two parts using partial clas

G

Guest

I want to break up development of my codebehind file to allow developers to
work on them independently without worrying about merging the files. Each
references objects from the aspx file. Any suggestions?
 
D

Darrin

Can you make a new class file in your project with a different class
name, but in the same namespace? Then someone could code in that class
file and call you methods their, passing along any objects from the web
application instance that they needed to. If the class file is in the
same project you will have the same additional references available as
you would in your codebehind page.

-Darrin
 
G

Guest

If I do and it gets added to the AppCode, the it can't recognize the aspx
objects in that context.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top