Add a "Delete" button to a RadPanelItem

2 posts, 0 answers
  1. Paul Russo
    Paul Russo avatar
    2 posts
    Member since:
    Jun 2010

    Posted 29 Nov 2010 Link to this post

    I need to add a "Delete" button to a RadPanelItem programmatically

    The Panel Items are added dynamically to the RadPanelBar in the Page_Load method. At this time, I want to add a template or a delete button to the PanelItem (in the header itself, so that the delete button can be clicked without having to expand the item).

    Is there a way to do it in the code behind ? Your help would be much appreciated.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Nov 2010 Link to this post

    Hello Paul,

    You can also add templates to RadPanelBar at runtime, using the ItemTemplate or ContentTemplate properties. More information and code snippet will be available here.
    Adding Templates at run-time

Back to Top