partial page classes

  • Thread starter Thread starter Andy B
  • Start date Start date
A

Andy B

I want to use partial classes with my pages. Do I need to put all of the
page using statements in both class files? or just one of them?
 
Hi Andy,
You need the Using statements in the beginning of a page/class so that the
class is
able to make API calls to the APIs present in those references and hence
these Using statements are class sepcific (file specific).

You donot need to include all the Using statements in all the partial
classes,just include the ones that are needed to compile that class.

regards,
Joy
 
Back
Top