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 ChoudharyPosted Mar 3, 2010, 2:34 AM
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.
radhika RamalingamPosted Jun 13, 2011, 5:19 AM
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.
Sunita TajanpurePosted Mar 5, 2010, 6:16 AM
INamingContainer worked for me
Sunita TajanpurePosted Mar 3, 2010, 2:17 AM