Disabling RadListView

3 posts, 1 answers
  1. Jim
    Jim avatar
    9 posts
    Member since:
    Jan 2011

    Posted 27 Apr 2011 Link to this post

    Hi all,

    I'm trying to disable a listview on the client side and have been unable to do so even if I do the following:

    document.getElementById(

     

    '<%=Listview.ClientID %>').disabled = true

    I can disable it server side but would rather client side disable it.

    Thanks...

     

  2. Answer
    Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 02 May 2011 Link to this post

    Hello Jim,

    For disabling RadListView completely at the client side, you need to disable the active links/images/inputs/spans/etc which is inside the listview manually. So you have to add codes additional to
    "document.getElementById('<%=Listview.ClientID %>').disabled = true" in order to achieve that. Please check the below link for more information, which will help you to disable RadListView from client side. The link contains information about the RadGrid, however disabling the RadListView on client side is the same.

    Enabled/Disabled conventions

    Best wishes,
    Radoslav
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jim
    Jim avatar
    9 posts
    Member since:
    Jan 2011

    Posted 02 May 2011 Link to this post

    Thanks for your help!
Back to Top