A
Alan Silver
Hello,
I am designing a form that allows people to request the formation of a
limited company. When they fill in the form, they have to supply a
certain amount of information relevant to their choice (company name,
address, various other options). I was thinking about doing this with a
wizard control as that allows me to split the form into manageable
chunks.
One of the features is that they can optionally specify a number of
people to be the company's directors. I am trying to work out the best
way of doing this. Basically, for each director, I need to show the same
subform, where they enter the person's details. Trouble is, I can't just
rely on the normal view state to save this info as I can with other
controls on the form, as there could be any number of directors.
Any suggestions about how to store the info? I thought about writing a
Director class, and creating an instance of this for each director
entered. Is this sensible? Is there a better way? How do I store the
objects in view state?
TIA
I am designing a form that allows people to request the formation of a
limited company. When they fill in the form, they have to supply a
certain amount of information relevant to their choice (company name,
address, various other options). I was thinking about doing this with a
wizard control as that allows me to split the form into manageable
chunks.
One of the features is that they can optionally specify a number of
people to be the company's directors. I am trying to work out the best
way of doing this. Basically, for each director, I need to show the same
subform, where they enter the person's details. Trouble is, I can't just
rely on the normal view state to save this info as I can with other
controls on the form, as there could be any number of directors.
Any suggestions about how to store the info? I thought about writing a
Director class, and creating an instance of this for each director
entered. Is this sensible? Is there a better way? How do I store the
objects in view state?
TIA