Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

I have two radio button and used same groupname this are follows:

VB
<asp:RadioButton ID="rdoConsignor" runat="server" Enabled="false" GroupName="Bill"
                        Text="Consignor" CssClass="checkbox" EnableViewState="true" />
                    <asp:RadioButton ID="rdoConsignee" runat="server" Enabled="false" GroupName="Bill"
                        Text="Consignee" CssClass="checkbox" EnableViewState="true" />



After page postback both radio button are checked false.

I don't know why this going.

Please help me and

thanks in advance.
Posted

Hi,

I have tested your code and is working.
you have disabled your radio buttons, when are you enabling them?
 
Share this answer
 
Hi,

This article will help you i hope.

How to group RadioButtons[^]

if not,

Wait for some other solutions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900