<p>I have an int array as a property of a Web User Control. I'd like to set that property inline if possible using the following syntax:</p>

<pre><code>&lt;uc1:mycontrol runat="server" myintarray="1,2,3" /&gt;
</code></pre>

<p>This will fail at runtime because it will be expecting an actual int array, but a string is being passed instead. I can make <code>myintarray</code> a string and parse it in the setter, but I was wondering if there was a more elegant solution.</p>

Have you tried looking into Type Converters? This page looks worth a look:
http://www.codeguru.com/columns/VB/article.php/c6529/
Also, Spring.Net seems to have a StringArrayConverter (
http://www.springframework.net/doc-latest/reference/html/objects-misc.html
- section 6.4) which, if you can feed it to ASP.net by decorating the property with a TypeConverter attribute, might work..