#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    45
    Rep Power
    11

    Header files in asp.net


    Hi,

    This is a very simple question, how do I take all my script out of my .net pages and place them in separate header files like you would in C++ or even an include file

    Thanks
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Los Osos. CA, USA
    Posts
    12
    Rep Power
    0
    I would encourage you to look into web user controls. They are snippits of aspx pages (with their own code-behind) that you can code up and drag into several pages in your site.

    For an article on this, see http://www.c-sharpcorner.com/Code/20...nedCompDev.asp

    Robert Fuess
    Spiderweb Logic
    Check out this cool HTML color chart

IMN logo majestic logo threadwatch logo seochat tools logo