Render enumeration value using code blocks
<p>I want the value of jsonStr to be</p>

<pre><code>"{submitOfferResult: 0}"
</code></pre>

<p>instead though it is </p>

<pre><code>"{submitOfferResult: OFFER_ACCEPTED}"

//javascript
var jsonStr = "{submitOfferResult: &lt;%=SUBMIT_OFFER_RESULT.OFFER_ACCEPTED %&gt;}";

//c#
public enum SUBMIT_OFFER_RESULT
{
    OFFER_ACCEPTED = 0,
    QUALIFYING_OFFER_NOT_MET = 1,
    OFFER_ACCEPTED_NOT_HIGHEST_OFFER = 2,
    OSP_CLOSED = 3,
    AUTO_REJECTED = 4
}
</code></pre>
