Even though I mentioned master in my post, I was focused on looking for a
module-like approach.
I found out about App_Code and created a class file in it containing the
sub.
I had just noticed that a reference to Session in the sub code produced an
error when I received your post.
I changed to the method you pointed to (using master.mysub) and that works
well.
For future reference: Do you know why I received an error when the sub
referenced Session (Session is not declared)?
If I got rid of that error do you think that approach would have worked?
A related question - there is any reason asp.net not to use Shared if a sub
does not access an instance variable?
Thanks a lot
"Mark Rae [MVP]" <(E-Mail Removed)> wrote in message
news:elZm%(E-Mail Removed)...
> "_Who" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>> I can't find any documentation on how to do this.
>
> GIYF:
> http://www.google.co.uk/search?sourc...tion+reference
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net