Server Side Includes

Results 1 to 2 of 2

Thread: Server Side Includes

  1. #1
    Join Date
    Dec 1969

    Default Server Side Includes

    If you include an aspx file, does its code behind file not get executed?

  2. #2
    Join Date
    Dec 1969

    Default RE: Server Side Includes

    From what I have seen, when you do a #include ..file.. the contents of ..file.. logically become part of the file it is being included in. So, no, the code behind for the include file would not be called. But as the included file is logically part of the main file, you can reference the objects within the include file as if they are part of the main code.<BR><BR>This may seem a bit confusing at first, but work with it a bit and it should become clear.<BR><BR>O&#039;Cary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts