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

Add a "Delete" button to a RadPanelItem

1 Answer 118 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Paul Russo
Top achievements
Rank 1
Paul Russo asked on 29 Nov 2010, 06:00 PM
Hi,
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.

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Nov 2010, 05:55 AM
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



-Shinu.
Tags
PanelBar
Asked by
Paul Russo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or