This is a migrated thread and some comments may be shown as answers.

User control inside Wizard

1 Answer 68 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Anoosh
Top achievements
Rank 1
Anoosh asked on 27 Mar 2017, 05:02 PM
hi, I have a user control with multiple fields that does its own validation.  What is the best practice when using it inside a Wizard.  It needs to be validated when Next button is clicked, also not sure if validation message can be injected to that if the Wizard

1 Answer, 1 is accepted

Sort by
0
Anoosh
Top achievements
Rank 1
answered on 30 Mar 2017, 01:28 AM
I am going ahead with defining a ValidationGroup property for the user control and setting it same as the group for the step.  The validation messages seem to bubble up to the asp:ValidationSummary control in the step just fine. 
Tags
Wizard
Asked by
Anoosh
Top achievements
Rank 1
Answers by
Anoosh
Top achievements
Rank 1
Share this question
or