asp.net HiddenField: add custom attribute dynamically
<p>How can I add a custom attribute to a HiddenValueField in ASP.NET? Specifically, I need a class="gmapPoint" attribute for a dynamically generated HiddenValue control. This is necessary for a JavaScript on that page</p>

<pre><code>var hiddenField = new HiddenField();
hfield.Value = "myValue";
hfield.... Attributes["class"]
</code></pre>

<p>-- how can I do a similar thing?</p>
