Posted on: 5/20/2015 3:29:47 AM | Views : 598

Hello,
I am trying to find some examples of setting up an accordion to be created dynamically from sql database. So for example if my database has 10 rows of data then 10 accordion panels would be created at runtime with the data within it. So I know I would need to bind the data like the panel title and panel body using Eval and that seems to work but I am having problems creating the accordion itself.
Here is the code for a simple bootstrap accordion I found online:
<div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a runat="server" data-toggle="collapse" href="#collapseOne" data-parent="#accordion"> ...

Go to the complete details ...