Home Dashboard Directory Help
Search

RadioButtonList control does not work in Visual Studio 2012 as it expected as it was in VS2010 by Peter Cong


Status: 

Closed
 as Duplicate Help for as Duplicate


0
1
Sign in
to vote
Type: Bug
ID: 773937
Opened: 12/10/2012 8:28:41 AM
Access Restriction: Public
2
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Hi, I am using Visual Studio Professional version 2012 to create a Web Form web project.
When I use the RadioButtonList control and set some items in it, basically, i tried to set "Yes" and "No" as the selection of this radio button, But when I view it in browser, the selection items "Yes" and "No" are displayed integrated properly, they are seperated, it is not looks as a real radio button as it works well in VS 2010.
Please let me when this bug can be fixed, otherwise, I can not use VS2012, and will switch back to VS2010.
Thanks
Peter
Details
Sign in to post a comment.
Posted by Microsoft on 2/8/2013 at 4:05 PM
The pre-release versions of Visual Studio 2012 included an error in the CSS stylesheets in the new project templates just resulted in radio buttons being rendered this way. The issue was fixed for the RTM release, but regardless, the issue was not a problem in ASP.NET us such, but a CSS styling issue.
Posted by Microsoft on 12/14/2012 at 1:45 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 Peter Cong on 12/11/2012 at 6:32 AM
Where can I download 548054.png ? I can not find it here.
If it you approve the picture you created Radiobuttonlist in VS2012 Ultimate which shows same as it was in VS2010, then I do not need to see it.
As Microsoft employee, I do not think it is hard for you to find VS2012 professional and verify it ?
As my company are using VS2012 professional, if you can comfirm this the bug in VS2012 professional, then we will give up to use VS2012 professional and switch to use VS2012 Ultimate version,
Please let me know asap, all our team are waiting your comfirmation, thanks a lot,
As well, please send me a offical link for downloading the VS2012 Ultimate version, thanks
Posted by Microsoft on 12/10/2012 at 7:28 PM
Hi Peter, can you download the 548054.png picture? As you see, VS 2012 Ultimate showed normally in the pciture as VS2010, i'm sorry i have not installed VS 2012 Professional. Is it convenient for you try to install VS 2012 Ultimate? Thanks.
Posted by Microsoft on 12/10/2012 at 8: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.
Posted by Peter Cong on 12/10/2012 at 1:22 PM
Thanks for the quick response, I tried to add your style sheet, it still does not fix the problem. From design mode, it looks better, but if you view it in browser, the problem is still there.
In VS2010, we do not need add any style for those detault controls from visual studio, I do not know why should we add the extra codes for these default controls from ASP.net? It seems VS2012 is not mature enough to be used, I donot how many issues for other controls, I am worried to use it now, I do not what when I develop my project in the half way and encounter some bugs as this, so it is too late for me to switch to VS2010 at that time,
I may give up the VS2012 and use VS2010 instead, but please let me know if this is fixed and this is the only bug in VS2012, so I may continue use it at that time.
Thanks
Posted by Viorel_ on 12/10/2012 at 10:01 AM
Fix the problem by adjusting the styles. For example, add these lines to “Site.css”:

input[type='radio'] + label
{
    display: inline;
}
input[type='radio']
{
    width: auto;
}

Use “Build Style” feature to adjust colours, spaces, etc.
File Name Submitted By Submitted On File Size  
radiobutton.png 12/10/2012 8 KB