troubleshooting Question

hiding a listitem of my radiobuttonlist

Avatar of scm0sml
scm0sml asked on
JavaScriptASP.NETVisual Basic.NET
4 Comments1 Solution406 ViewsLast Modified:
I have the radio list below.

Basically based on a check inside an if statement i want to able to hide the fourth element, so the user would not see the "Uses Supplier Setup" option.

How can I go about doing that in the code behind?
<asp:radiobuttonlist id="rblAccountDueDate" runat="server" repeatdirection="horizontal">                       
                        <asp:ListItem value="1">Departure</asp:ListItem>
                        <asp:ListItem Value="2">Booking</asp:ListItem>
                        <asp:ListItem Value="3">Component Start Date</asp:ListItem>
                         <asp:ListItem value="0">Uses Supplier Setup</asp:ListItem>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 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 4 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