In classic asp it would have been easy
<title><% =varname %></title>
I presume you use <%# %> tags (correct me if i'm wrong)
Specifically i need to Request a variable from a querystring, work some funky string manipulation and then pass it to the title of the page.
Anyone?
Thanksone solution which I've used!...
aspx file
<title runat="server" id="PageTitle">XYZ</title>
code behind
// change html title
PageTitle.InnerText = "New Page Title";
Well that was simple...
Thanks FrEaK @.CH
0 comments:
Post a Comment