Home Dashboard Directory Help
Search

radiobutton or radiobuttonlist does not display correctly when inside of a contentplaceholder by pthoopth


Status: 

Closed
 as Fixed Help for as Fixed


1
1
Sign in
to vote
Type: Bug
ID: 799857
Opened: 9/6/2013 6:29:40 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

When using a radiobutton or radiobutton list, checkbox or checkboxlist in visual studio 2012, the text renders under the radio button instead of beside it. This only happens when the control is placed inside a contentplaceholder.
Details
Sign in to post a comment.
Posted by Microsoft on 9/25/2013 at 10:24 AM
Thank you for submitting the issue.

This issue repros only on Visual Studio 2012 templates. It does not repro if you create a webforms page without the Site.master. The issue is with the CSS being used in the templates which causes the label text for the radio button list and the checkbox list to be rendered in the next line. The list controls render each of control and the label separately. In the Site.css, the label is styled as display:block which causes it render on the next line. Please edit the styling for label in Site.css from display:block to display:inline to render the text next to the control


Additionally this issue is fixed with the One ASP.NET templates which use bootstrap. They are shipped with Visual Studio 2013.


Thanks,

Web Platform and Tools team
Posted by Microsoft on 9/9/2013 at 12:23 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 9/6/2013 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.