Create controls in runtime

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

I need an ascx control with optionButton and checkBox where the user can
insert information. The problem is that this control should be created by
the user in runtime. How can I do it?

Thank you.
 
You don't. If you want users to add information to your web site, use a
database.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
I need that my client (the administrator of the web) can create a form where
the rest of the users can insert information. This information won't be
stored in any database because it will be send by mail (but it isn't any
problem). The form with the CheckBoxes, TextBoxs or OptionButtons can
change, so I need give the client the posibility of make any modification.

Thanks.
 
You're still talking database here. The difference is that, as you've
described it, it's going to be a fairly complex database and application.
I've seen this sort of app before. Hope you're charging what it's going to
cost for the work!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
use a confgiuration file (say in xml), that defines the desired controls.
read it at runtime and create the controls during onint.

-- bruce (sqlwork.com0
 
Back
Top