RadioButtonList Control
- From: "Stephen Noronha" <stephen_jn@xxxxxxxxxxx>
- Date: Wed, 24 Aug 2005 17:01:51 -0700
Hi,
If I have a radiobuttonlist control and have some items in them, is it
possible to hide one item depending on "situation" for eg: Users, Managers
log in and see the same radiobuttonlist control but if user logs in he
should not see item "Query 5" and if manager logs in he should
<asp:radiobuttonlist id="TaskRadioButton" runat="server" Width="440px"
Font-Size="X-Small" RepeatDirection="Vertical" RepeatColumns="2">
<asp:ListItem Value="Query1" Selected="True">Query
1</asp:ListItem>
<asp:ListItem Value="Query2">Query 2</asp:ListItem>
<asp:ListItem Value="Query3">Query 3</asp:ListItem>
<asp:ListItem Value="Query4">Query 4</asp:ListItem>
<asp:ListItem Value="Query5">Query 5</asp:ListItem>
</asp:radiobuttonlist>
I want to display the list Item "Query 5" only if a manager logs in... which
I check ofcourse..
How do i do it?
Thanks,
Stephen
.
- Follow-Ups:
- Re: RadioButtonList Control
- From: Curt
- Re: RadioButtonList Control
- Prev by Date: Re: Invalid length for a Base-64 string. ??? Any ideas?
- Next by Date: Re: number of users
- Previous by thread: Context and global.asax
- Next by thread: Re: RadioButtonList Control
- Index(es):