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 Answers, 1 is accepted
0
Accepted
Radoslav
Telerik team
answered on 02 May 2011, 09:38 AM
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.