Re: Multiple Page_load
- From: "tshad" <tscheiderich@xxxxxxxxxxxxxxx>
- Date: Wed, 11 May 2005 08:21:35 -0700
"William F. Robertson, Jr." <theman@xxxxxxxxxx> wrote in message
news:%239sXbHjVFHA.2700@xxxxxxxxxxxxxxxxxxxxxxx
>A couple options:
>
> 1. Wire to the Page.Load event that way it will remain seperate from each
> page's Load method.
> 2. Derive all your pages from myPages.myPage. And in myPage, do your
> load
> logic. Each derived class (page) will have the name logic on load called,
> but won't see it, nor will you have to worry about updating X number
> pages,
> if you are copying and pasting it.
Not quite sure how to do that.
I am not using code/behind at the moment, so not sure if that is an issue.
Why does the user control not have a problem?
Tom
>
> bill
>
>
> "tshad" <tscheiderich@xxxxxxxxxxxxxxx> wrote in message
> news:uD$cpwaVFHA.2768@xxxxxxxxxxxxxxxxxxxxxxx
>> Is there a way to do put Page_loads on a page?
>>
>> I am trying to setup a Page_Load that just puts a persons name that is
>> logged on at the top of a page the first time a page is loaded.
>>
>> In my template (which would be copied to each page) would have this in
>> it.
>> The each page has its own Page handling for the first time it is loaded,
>> also Page_load.
>>
>> This seems to work fine if it is in a User Control.
>>
>> Thanks,
>>
>> Tom
>>
>>
>
>
.
- Follow-Ups:
- Re: Multiple Page_load
- From: William F. Robertson, Jr.
- Re: Multiple Page_load
- References:
- Multiple Page_load
- From: tshad
- Re: Multiple Page_load
- From: William F. Robertson, Jr.
- Multiple Page_load
- Prev by Date: Boilerplate template code for database add/update/delete
- Next by Date: Re: Server Side Tags and Performance <% ... %>
- Previous by thread: Re: Multiple Page_load
- Next by thread: Re: Multiple Page_load
- Index(es):
Relevant Pages
|
Loading