I guess i was hoping the user control would have access to the user identity
after it was included on the page. this would save me from calling the
function (created as component) on each aspx page in the site. So far the
user is found on each page with out problem even when it does not exist (as
Null or blank). however, i can't help feeling i'm missing something.
page pg1.aspx has control uctrl1.ascx (as does all other pages on the site).
With out directly referencing pg1.aspx can i get the user identity?
thanks
kes
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"S. Justin Gengo" wrote:
Kes,
Check your include files/references in the regular .aspx page. Whichever
object you're using to obtain user identity is being referenced by the .aspx
page, but not by the user control. Also, in case the object is already being
referenced by the user control (which is likely) try creating it via it's
full path name.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"WebBuilder451" <We***********@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com... I've created a simple function to capture the userid when a page is hit. I
can include this function in the page load using if not ispostback, but
i'd
perfer to place it in the page load event of the user control i have
created
for navigation. However, the user object does not appear to be available.
Is
there a way around this? or am i doing something wrong?
(additional note: i also tried putting it in the global.asax but get an
error.)
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes