In the Password Reset AuthN Workflow activity you can change the number of questions for the gate and new rows are dynamically added to the Step 2 - Questions.
Has anyone done anything similar in a custom activity? If so, how do you do it? I'd like to add a new row with a text box and a couple of checkboxes when hitting an "Add" button. Presumably the button click activity needs to access
the ActivitySettingsPart and call the CreateChildControls() sub - but I can't work out how to do this (web dev is not an area of expertise)
You're probably looking for a combination of AutoPostBack and/or wiring event handlers to the buttons (not sure what you're doing exactly). You can wire an event handler to the Clicked event on your button control when you create it, or perhaps the CheckChanged
(sp?) event on your checkboxes. Autopostback and checking the state of the checkboxes is probably enough though for those without the event handler.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.