How do you set the value between tags in code

R

rdufour

For instance I have <h1>my header</h1> in a web page, how would I set this
value using the VB.net code behind file for that web page in VS2005?

Thanks for any help.
Bob
 
R

rdufour

Disregrad request, Think I found it.
FYI in the web page
<h1 id="hdr1" runat=server>My header test<h1>
That will give you an intelissense entry in the code behind file so that in
the load_page under me.
so you can write
Me.hdr1.InnerText = "Essai d'entête" if you want it in french

I think this may be a good basis for localizing all text in headers etc..

Any comments appreciated,

Bob
 

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

Top