Disable or ReadOnly for RadPanelItem contents

2 posts, 1 answers
  1. Paul J
    Paul J avatar
    101 posts
    Member since:
    Nov 2008

    Posted 09 May 2011 Link to this post

    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.


  2. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 12 May 2011 Link to this post

    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.

    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.

Back to Top