Accordion inside DataList

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top