multiple code behind referrences

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to reference more than one code-behind page? I want to use a sub in another page but didn't want to have to move it to the page that I want to use it.

Here's how I'm referencing them today:
<%@ Page Inherits="partnerhome" src="partner_home.vb" CodeBehind="partner_home.vb" Language="vb" %>

Thanx!
 
AFAIK no (and it would likely a bit diffuclt to maintain some code behind
that is shared by too pages.

I would just make it part of a library (and you'll be able to reuse it on a
third, fourth etc page).

Patrice

--

Chris said:
Is there a way to reference more than one code-behind page? I want to use
a sub in another page but didn't want to have to move it to the page that I
want to use it.
Here's how I'm referencing them today:
<%@ Page Inherits="partnerhome" src="partner_home.vb"
CodeBehind="partner_home.vb" Language="vb" %>
 
Back
Top