yeah, just trying to save myself some time.
Thanks anyway
"Marina" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I don't think you can do it from Session_Start. It's way too early.
>
> All you would have to do, is change what all the pages inherit from.
> That's not so much.
>
> "Grant Merwitz" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Thanks, that I have used many times before.
>> But this particular project was not built with that in mind (not built by
>> me either)
>> and there are way too many pages to make those changes
>>
>> Any other ideas?
>>
>> "Marina" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Create a base page class, that checks for IsNewSession, and adds the
>>> control.
>>>
>>> Then have all your pages inherit from this base page.
>>>
>>> "Grant Merwitz" <(E-Mail Removed)> wrote in message
>>> news:e4%(E-Mail Removed)...
>>>> Hi
>>>>
>>>> Is there a way to add a control to my page through the Global.asax
>>>>
>>>> I would like to place this code in the Session_Start page so its only
>>>> added to the first page the user visits.
>>>>
>>>> TIA
>>>>
>>>
>>>
>>
>>
>
>
|