M
MattB
I'd like to preface every page in my application's title with some text.
I have what I think is a good idea on how to do this, but I'm not sure
how to refer to the current page from global.asax.vb.
My plan is to put some code in the Application_BeginRequest event in
global.asax.vb or in a user control that will be present on every page
that will add this text to the page title if it's not a postback.
My main problem now is finding out how (and if) I can access the title
of the page programatically.
Can someone point me to the right direction? I saw some reference to
javascript code to do this but if possible I'd really like to do in the
vb codebehind. Thanks!
Matt
I have what I think is a good idea on how to do this, but I'm not sure
how to refer to the current page from global.asax.vb.
My plan is to put some code in the Application_BeginRequest event in
global.asax.vb or in a user control that will be present on every page
that will add this text to the page title if it's not a postback.
My main problem now is finding out how (and if) I can access the title
of the page programatically.
Can someone point me to the right direction? I saw some reference to
javascript code to do this but if possible I'd really like to do in the
vb codebehind. Thanks!
Matt