asp.net menuitem add class
<p>hi all I have a MenuItem that im dynamically adding childrent to using the following code </p>

<pre><code>MenuItem c1 = new MenuItem("text","value");
parent.ChildItems.Add(c1);
</code></pre>

<p>however I need to add a css class to it at the the same time something like </p>

<pre><code>c1.cssClass = "cssclass";
or 
c1.attributes.Add("Class","cssclass");
</code></pre>

<p>does anyone know how?</p>
