nauna says:
<
a
class
=
"btn btn-primary"
role
=
"button"
data-toggle
=
"collapse"
href
=
"#collapseExample"
aria-expanded
=
"false"
aria-controls
=
"collapseExample"
>
<
i
class
=
"fa fa-comment"
></
i
> Comment
</
a
>
Replace above code with below.
<a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseExample<%#Container.DataItemIndex%>"
aria-expanded="false" aria-controls="collapseExample"><i class="fa fa-comment"></i>
Comment </a>
And
nauna says:
<
div
class
=
"collapse"
id
=
"collapseExample"
>
Replace above code with below.
<div class="collapse" id="collapseExample<%#Container.DataItemIndex%>">