asp.net dynamically add usercontrols and position them
<p>My issue is that I have a designer that will create a custom aspx page bu without any .net controls.  I need a way of adding the controls dynamically.  So far the only types of controls will be textboxes and a button, but there are 30 variations of what the textboxes can be (name, phone #, email, etc).  Also the textboxes may or may not need to be required.  Once the textboxes are added the form will be submitted to a db.</p>

<p>My first thought was to have the designer place something like [name] and then replace that with a user control that has a name textbox and a required field validator.  In order to determine if the validator should be enabled I was thinking that the place holder could look like this, [name;val] or [name;noval].  I could either do replace the place holders in code dynamically or set up a tool that the user pastes their html into a textbox and clicks a button which then spits out the necessary code to create the aspx page.</p>

<p>I'm sure there must be a better way to do this but its a fairly unique problem so I haven't been able to find any alternatives.  Does anyone have any ideas?</p>

<p>Thanks,</p>

<p>Kirk</p>
