Accordion inside DataList

  • Thread starter Thread starter Giorgio
  • Start date Start date
G

Giorgio

Hi, I've an accordion inside a Datalist,
i've bind the datalist with my objectdatasource and i want inside the
Accordion
to access the datasource,
like :

<cc1:AccordionPane id="AccordionPaneSchedaTecnica" runat="server">
<Header>Scheda Tecnica</Header>
<Content>
<ul>
<li>Cilindrata: <asp:Label ID="CilindrataLabel" runat="server" Text='<%#
Eval("Cilindrata") %>' /></li>
<li>Potenza:<asp:Label ID="PotenzaLabel" runat="server" Text='<%#
Eval("Potenza") %>' /></li>
<li>Velocita:<asp:Label ID="VelocitaLabel" runat="server" Text='<%#
Eval("Velocita") %>' /> Km/h</li>
<li>Posti:<asp:Label ID="PostiLabel" runat="server" Text='<%#
Eval("Posti") %>' /></li>
<li>Colore:<asp:Label ID="ColoreLabel" runat="server" Text='<%#
Eval("Colore") %>' /></li>
<ul>
<Content>
<cc1:AccordionPane>

I can access it?

In this example i get no data, but the datalist and objectdatasource work
fine!

Thanks all.
 
Back
Top