Hi,
My problems with the Accordion Control
Now I found something strange. I'm databing the Accordion Control, so I'm using the HeaderTemplate and ContentTemplate to add the panes dynamically.
Inside the ContentTemplate I have a datalist having Linkbutton with the properties CommandName wich will be used on the ItemCommand Event of the Datlist Control.
The problem is that the ItemCommand Event doesn't trigger from the
ContentTemplate. I click on the LinkButton and nothing happens.
So, is this a bug of the Accordion Control? Or am I just doing something wrong?
Thanks In Advance,

Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 2, 2010, 9:34 PM EST
There is bug in Accordian control regarding Item Command.
see article below about its release and bug:
http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=16965
and also you will find the solution there. Download the accordian.cs file form this page at above link and compile it.
Hope your bug get fixes.
Please don't forget to mark the answer if it helps you.
Sunita Tajanpure11 reputationPosted Mar 2, 2010, 9:17 PM EST
Sunita Tajanpure11 reputationPosted Mar 5, 2010, 1:16 AM EST
INamingContainer worked for me
radhika Ramalingam22 reputationPosted Jun 13, 2011, 1:19 AM EDT
I am also facing the same issue. (ItemCommand Event doesn't triggered).
Can anyone tell me, how can i use that accordian.cs file.
Thanks in Advance,
Radhika.