Q:

Where to put hardcoded strings?

I have ASP.NET page with combo box where are some items. It looks as follows:
<telerik:RadComboBox runat="server" ID="cboExportToExcelChoice" EnableViewState="True" Width="100%" AutoPostBack="True">
    <Items>
        <telerik:RadComboBoxItem Text="Selected records" Value="Selected records" />
        <telerik:RadComboBoxItem Text="All records" Value="All records" />
    </Items>
</telerik:RadComboBox>

As you can see Text and Value string is hard coded. Where can I put the string to not be hard coded?

A:

Put the text in a resource file and get the value in the code-behind.
http://msdn.microsoft.com/en-us/library/ms227427(v=vs.100).aspx

