C# (ASP.Net) Linking selection values to constants in Codebehind
<p><strong>ASPX Code</strong></p>

<pre>
&lt;asp:RadioButtonList ID="rbServer" runat="server" &gt;
   &lt;asp:ListItem Value=&lt;%=ServerDeveloper%&gt;&gt; Developer &lt;/asp:ListItemv
   &lt;asp:ListItem Value="dev.ahsvendor.com"&gt; dev.test.com&lt;/asp:ListItem&gt;
   &lt;asp:ListItem Value="staging.ahsvendor.com"&gt; staging.test.com&lt;/asp:ListItem&gt;
&lt;/asp:RadioButtonList&gt;
</pre>

<p><strong>ASPX.CS - Codebehind</strong></p>

<pre>
const string ServerDeveloper = "developer";
</pre>

<p><strong>ASPX Error</strong>: Code blocks are not supported in this context.</p>

<p><strong>Question:</strong> So what is the correct way to tie an dropdown/radio buttion/... ASPX value to a constant that is shared with the CodeBehind code?</p>

<p>I know that I could do rbServer.Add.Item("developer") [from the CodeBehind], but is there  a way to achieve it from the Presentation side of things?</p>
