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

Disabling RadListView

2 Answers 94 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 27 Apr 2011, 03:38 PM
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 Answers, 1 is accepted

Sort by
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.

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.

0
Jim
Top achievements
Rank 1
answered on 02 May 2011, 01:04 PM
Thanks for your help!
Tags
ListView
Asked by
Jim
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Jim
Top achievements
Rank 1
Share this question
or