troubleshooting Question

get Radiobutton value in C# code behind

Avatar of dinesh_bali
dinesh_bali asked on
C#ASP.NET
2 Comments1 Solution7566 ViewsLast Modified:
Hi,


I am working on web application using C#, and ASP.net 2.0

I have created 3 radio buttons code is below

I am not able to get the values, that what user has clicked

<asp:RadioButton ID="RadioButton1" runat="server" Checked="True" Text="Both" GroupName="mode" />&nbsp;<asp:RadioButton
        ID="RadioButton2" runat="server" Text="Shortfall" GroupName="mode" />
    <asp:RadioButton ID="RadioButton3" runat="server" Text="Overages" GroupName="mode" />
   
I mean if user has selected Both or Shortfall or Overages from the radiobutton

Please help

Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros