This is a migrated thread and some comments may be shown as answers.

Telerik rad control :Listbox

1 Answer 28 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Ashwnai
Top achievements
Rank 1
Ashwnai asked on 22 Jan 2013, 04:01 AM
Hi i am using telerik rad ListBox ,everything working fine but in my case a person can select different no of item ,so the value based on the role of user.
so i just want to know that how can i restrict a user to add more than 'X' items from list.
(Example if user="Admin" maximum no ="4";) 
Thanks in advance

code is as 

<telerik:RadListBox runat="server" ID="rlbSourceWeeklyOff" Height="200px" Width="200px"
                                    AllowTransfer="true" TransferToID="rlbDestinationWeeklyOff" >
                                </telerik:RadListBox>
                                <telerik:RadListBox runat="server" ID="rlbDestinationWeeklyOff" Height="200px" Width="200px">
                                </telerik:RadListBox>

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 24 Jan 2013, 05:15 PM
Hi Ashwnai,

Please review the following sources - client side collection object and client side events (transfer events).

Kind regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ListBox
Asked by
Ashwnai
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or