Link to home
Create AccountLog in
Avatar of solution1368
solution1368

asked on

asp.net radio button list.

I have asp.net validation for radio button list. but the validation message always create a new line after the radio button list control.
How can I make them horizonal alignment, just as usual for other asp.net controls?

Thanks

<asp:RadioButtonList runat="server" RepeatDirection="Horizontal" ID="ProductionEquipmentCoverage">
<asp:ListItem Value="Yes" Text="Yes"></asp:ListItem><asp:ListItem Value="No" Text="No"></asp:ListItem>
</asp:RadioButtonList>
<asp:RequiredFieldValidator CssClass="BoldAndRed" ID="RequiredFieldValidatorProductionEquipmentCoverage" runat="server" ErrorMessage="*" SetFocusOnError="true" Display="Dynamic" ControlToValidate="ProductionEquipmentCoverage"></asp:RequiredFieldValidator>
ASKER CERTIFIED SOLUTION
Avatar of Matthew Kelly
Matthew Kelly
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer