custom link on default header page
Posted: Wed Sep 17, 2008 9:29 am
I have tried placing some code in the scriptlet to show a custom link if the user is coming from a certain url but it does not render correctly.
Here is the code:
<% if (Request.UrlReferrer.ToString().Contains("testexchange"))
{
Response.Write("<a href='http://www.exchangeonlinemall.com/defau ... =aafes.com' class='tab'>Return to Mall</a>")
}%>
I have also tried it like this:
# if (Request.UrlReferrer.ToString().Contains("testexchange"))
{
Response.Write("<a href='http://www.exchangeonlinemall.com/defau ... =aafes.com' class='tab'>Return to Mall</a>")
}
#end
Any help is appreciated. Thanks
Here is the code:
<% if (Request.UrlReferrer.ToString().Contains("testexchange"))
{
Response.Write("<a href='http://www.exchangeonlinemall.com/defau ... =aafes.com' class='tab'>Return to Mall</a>")
}%>
I have also tried it like this:
# if (Request.UrlReferrer.ToString().Contains("testexchange"))
{
Response.Write("<a href='http://www.exchangeonlinemall.com/defau ... =aafes.com' class='tab'>Return to Mall</a>")
}
#end
Any help is appreciated. Thanks