A
Alan Silver
Hello,
Suppose I have a page that has several literal controls and I want to be
able to set the Text property of these controls all to the same value.
Is there a simple way of doing this?
The example in hand is where I want to set both the <title> tag and a
<h1> tag on the body of the page to show the name of the product being
displayed. I know I can do this in two lines, but I was wondering if
there is a way doing it in one go, so if I need to use the product name
elsewhere, I can just add another control and not need to remember to go
back and add an extra line to set the Text.
Any ideas? TIA
Suppose I have a page that has several literal controls and I want to be
able to set the Text property of these controls all to the same value.
Is there a simple way of doing this?
The example in hand is where I want to set both the <title> tag and a
<h1> tag on the body of the page to show the name of the product being
displayed. I know I can do this in two lines, but I was wondering if
there is a way doing it in one go, so if I need to use the product name
elsewhere, I can just add another control and not need to remember to go
back and add an extra line to set the Text.
Any ideas? TIA