Disable Selection of Items in Telerik Radlistbox

2 posts, 0 answers
  1. Manshu
    Manshu avatar
    2 posts
    Member since:
    Nov 2014

    Posted 02 Jun Link to this post

    I am using a telerik RadListbox to display a list of items.I don't want the user to be able to select any items from list.It is just for display

    If I do Enable = "false" It grays out the items which I don't want. I want the items to be black and not selectable.

    How can I override the default behavior when I do enable = false so that it doesn't grays out the test or any other way to make items not selectable.



  2. Eyup
    Eyup avatar
    2942 posts

    Posted 07 Jun Link to this post

    Hello Manshu,

    You can use the following event handler to prevent the item selection:
    <telerik:RadListBox ID="RadListBox1" runat="server"
    function listBoxSelecting(sender, args) {

    Please give it a try and let me know if it works for you.

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top