K
KMG
I have a master page, that uses script to include standardized context. For
instance:
<!--#include virtual="/inc/myHeader.inc" -->
I want the name of the file to be different depending on where the user is
coming from, so if the user is coming from www.hp.com, the url would be
www.hp.com?s=HPRoute and the master page to be loaded would be
myHPHeader.inc.
How can I do this? Exploring ClientScriptManager didn't really do it, it
inserted the code as <script src="inc/myHeader.inc"
type="text/javascript"></script> and didn't display the page at all. What
am I doing wrong? Any ideas are appreciated!
instance:
<!--#include virtual="/inc/myHeader.inc" -->
I want the name of the file to be different depending on where the user is
coming from, so if the user is coming from www.hp.com, the url would be
www.hp.com?s=HPRoute and the master page to be loaded would be
myHPHeader.inc.
How can I do this? Exploring ClientScriptManager didn't really do it, it
inserted the code as <script src="inc/myHeader.inc"
type="text/javascript"></script> and didn't display the page at all. What
am I doing wrong? Any ideas are appreciated!