reusing codebehind files?

  • Thread starter Thread starter Anders Bohlin
  • Start date Start date
A

Anders Bohlin

hi.

I got a mainpage wich uses cutom controls.
i want to use the same codebehind for the customcontrol as i have for the
mainpage. is this possible?

yours truely /Anders
 
Using the exact same code behind isn't possible, but try placing the
code you want to share into a class that you can use from either
object.
 
okay, thanx

Scott Allen said:
Using the exact same code behind isn't possible, but try placing the
code you want to share into a class that you can use from either
object.
 

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

Similar Threads


Back
Top