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

Disable or ReadOnly for RadPanelItem contents

1 Answer 120 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Paul J
Top achievements
Rank 1
Paul J asked on 09 May 2011, 09:16 PM
I'd like to be able to make the contents only of a panel item disabled or read/view only. Basically so the panel items can still be expanded/collapsed but its ContentTemplate contents cannot be edited.

 Is this possible?  Simply disabling the panelitem make it so you cannot expand/collapse anymore.

Lookin' for something like either a simple attribute to do this or some sample code on how to properly loop through a panelbar's contents (i.e. asp panels) to set their enable property to false. And/or any tips/hints.

Thanks.


1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 12 May 2011, 02:11 PM
Hello Paul J,


Thank you for contacting us.

I've prepared a sample page based on your requirements. The controls in the Content template are disabled server-side and thus a post-back should occur when you want to enable them again.

I hope this would help you out.

Regards,
Dimitar Terziev
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.

Tags
PanelBar
Asked by
Paul J
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or