Hi guys
I have an accordion control and I would like to add another accordion pane at run time. So far I have this:
Accordion ac = (Accordion)Master.FindControl("Accordion1");
AccordionPane ap = new AccordionPane();
ap.Header = "<a href='logout.aspx'>Logout </a>";
ac.Panes.Add(ap);
the bolded code will not work since that property expects some Itemplate ... which seems to be somekind of interface.
Does anyone know how to set the value for the header and content properties of the accordian pane class?
Thanks
Regards
Gabriel