Click here to Skip to main content
15,887,915 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
how can i create dynamic carousel product Cart Slider with 4 column in asp.net mvc my problem is active Property apply for all database data


What I have tried:

<div class="item active">
         <div class="row">
             @foreach (var item in ViewBag.Content)
                    {
                      <div class="col-sm-3">
                           <div class="col-item">
                              <div class="photo">
                               <img src="~/Files/Uploadimages/@item.Image"
                                      class="img-responsive" alt="a" />
                              </div>
                                   <div class="info">
                                      <div class="row">
                                         <div class="price col-md-12">
                                                  <h5>
                                                      @item.Title
                                                  </h5>

                                          </div>

                                     </div>

                                 </div>
                            </div>
                         </div>

                     }
                 </div>
Posted
Updated 17-Nov-17 19:24pm
v2
Comments
Karthik_Mahalingam 18-Nov-17 8:46am    
are you using any js plugin?
Abolfazl Saeid 18-Nov-17 13:50pm    
i use bootstrap carousel
Karthik_Mahalingam 19-Nov-17 9:25am    
are you getting any error in chrome console
Abolfazl Saeid 19-Nov-17 23:55pm    
no
Karthik_Mahalingam 20-Nov-17 3:16am    
can you show a screenshot how it is apprearing

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900