asp.net validationgroup on fieldset
is there a way to add a validationgroup to a fieldset, this way i do not have to add a validationgro开发者_如何学Goup attribute to every single validator within that fieldset?
Not as simple as that. Asp.net validators are not aware of the surrounding HTML.
What you might be able to do is assign an id and runat='server' to your fieldset. Then programatically run through each control inside and if it's a validation control, assign your validation group.
精彩评论