Change Title

C

Chris

I have a very simple vb.net aspx page. How do I change the title of the
page code behind? Thanks.

Chris
 
K

Karl Seguin

<head>
<title id="title" runat="server" />
......


protected title as HtmlGenericControl

Page_load
title.InnerText = "Leeeeeerrooooy Jenkins"
end page_load
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top