G
Guest
Hello,
I've got a text-based .inc file that I'm using for my asp.net site's header.
I thought about a user control, but if possible, I'd like to avoid it for
simplicity's sake. In the main page, I do a response.writefile("header.inc")
for inserting the header. I have one render block:
<%= User.Identity.Name %>
Unfortunately, it seems that this is outputted as literal text to the
browser. I've tried a user control, but it doesn't seem to let me access this
property from the context of the user control. Is there any way to achieve
what I'm trying to do, ideally in the .inc, but via a user control would be
acceptable as well... ? Thanks for any help...
-Ben
I've got a text-based .inc file that I'm using for my asp.net site's header.
I thought about a user control, but if possible, I'd like to avoid it for
simplicity's sake. In the main page, I do a response.writefile("header.inc")
for inserting the header. I have one render block:
<%= User.Identity.Name %>
Unfortunately, it seems that this is outputted as literal text to the
browser. I've tried a user control, but it doesn't seem to let me access this
property from the context of the user control. Is there any way to achieve
what I'm trying to do, ideally in the .inc, but via a user control would be
acceptable as well... ? Thanks for any help...
-Ben