title: ASP.NET: How can you add a custom/namespaced XHTML attribute to a web control declaratively?
body: <p>Normally, unknown attributes of a webcontrol are passed through to to the rendered element in the browser.  So the following works.</p>
  
  <pre><code>&lt;asp:label runat="server" Text="Label Text" helpId="101" /&gt;
  </code></pre>
  
  <p>However, if you use a namespaced attribute like the following </p>
  
  <pre><code>&lt;asp:label runat="server" Text="Label Text" myNs:helpId="101" /&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The attribute is not rendered to the client, even when the custom namespace is declared in the html element like:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:myNs="http://www.acme.com/htmlext"&gt;
  </code></pre>
  
  <p>Does anyone know of a way to get this to render to the client, without having to use a custom control.   A module or other globally "pluggable" solution would be acceptable.  </p>