Q:

Filling multiple literals with the same value

I have multiple literals on a page.  For example,
<asp:Literal id="Label1" runat="server" />

I have around 10 of these on one page and want to fill them all with the same value.  Is there a good way to do that without referencing the id for each control?

A:

Create a public property that holds the value you want to display and in the aspx use 
<%= propertyName %>

everywhere you want to display the value.

