Telerik rad control :Listbox

2 posts, 0 answers
  1. Ashwnai
    Ashwnai avatar
    2 posts
    Member since:
    Jan 2013

    Posted 21 Jan 2013 Link to this post

    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 runat="server" ID="rlbDestinationWeeklyOff" Height="200px" Width="200px">
  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 24 Jan 2013 Link to this post

    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.
Back to Top