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.
 
Back
Top