Hi
I've a questionnaire application where each question is a separate User
Control that gets loaded dynamically at run-time. Each question has a
list of answer options stored in a database. I need to load the
options when the question loads and save the answer selected when the
users clicks "Save".
I've found I can load the answer options with a "LoadOptions();" in the
Page_Load for each of the User Control.
What's the best way to save the answers? I can put a "SaveAnswer();"
method in each User Control, but how do I iterate through all the
loaded User Controls to call this method from the Save button on the
parent form?
I hope the answer is as pleasing and enlightening as others have been.
Cheers
John South
www.WhereCanWeGo.com