ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.How to show comments or add text using Bootstrap Carousel in ASP.Net<p>Hi <a class="username" rel="amitsinghr"> amitsinghr</a>,</p> <p>Refer below HTML and you need to modify the code according to your requirement</p> <p><span style="text-decoration: underline;">HTML</span></p> <div class="demo_block"> <pre class="brush: html">&lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&gt; &lt;head runat=&#34;server&#34;&gt; &lt;title&gt;&lt;/title&gt; &lt;link rel=&#34;stylesheet&#34; href=&#34;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&#34; /&gt; &lt;link rel=&#34;stylesheet&#34; href=&#34;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css&#34; /&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js&#34;&gt;&lt;/script&gt; &lt;style type=&#34;text/css&#34;&gt; .carousel-inner { width: auto; height: 200px; max-height: 200px !important; } .carousel-content { color: black; display: flex; text-align: center; } &lt;/style&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(document).ready(function () { $(&#39;.carousel&#39;).carousel({ interval: 1000 }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form id=&#34;form1&#34; runat=&#34;server&#34;&gt; &lt;div&gt; &lt;div id=&#34;myCarousel&#34; class=&#34;carousel slide&#34; data-ride=&#34;carousel&#34; data-interval=&#34;4000&#34; data-pause=&#34;hover&#34;&gt; &lt;!-- Indicators --&gt; &lt;ol class=&#34;carousel-indicators&#34;&gt; &lt;li data-target=&#34;#myCarousel&#34; data-slide-to=&#34;0&#34; class=&#34;active&#34;&gt;&lt;/li&gt; &lt;li data-target=&#34;#myCarousel&#34; data-slide-to=&#34;1&#34;&gt;&lt;/li&gt; &lt;/ol&gt; &lt;!-- Wrapper for slides --&gt; &lt;div class=&#34;carousel-inner&#34; role=&#34;listbox&#34;&gt; &lt;div class=&#34;item active&#34;&gt; &lt;div class=&#34;carousel-content&#34;&gt; &lt;div style=&#34;margin: 0 auto&#34;&gt; &lt;h3&gt; #1&lt;/h3&gt; &lt;p&gt; The first Message.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class=&#34;item&#34;&gt; &lt;div class=&#34;carousel-content&#34;&gt; &lt;div style=&#34;margin: 0 auto&#34;&gt; &lt;h3&gt; #2&lt;/h3&gt; &lt;p&gt; The 2nd Message.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;a class=&#34;left carousel-control&#34; href=&#34;#myCarousel&#34; role=&#34;button&#34; data-slide=&#34;prev&#34;&gt; &lt;span class=&#34;glyphicon glyphicon-chevron-left&#34; aria-hidden=&#34;true&#34;&gt;&lt;/span&gt;&lt;span class=&#34;sr-only&#34;&gt; Previous&lt;/span&gt; &lt;/a&gt;&lt;a class=&#34;right carousel-control&#34; href=&#34;#myCarousel&#34; role=&#34;button&#34; data-slide=&#34;next&#34;&gt;&lt;span class=&#34;glyphicon glyphicon-chevron-right&#34; aria-hidden=&#34;true&#34;&gt; &lt;/span&gt;&lt;span class=&#34;sr-only&#34;&gt;Next&lt;/span&gt; &lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p> <p>&nbsp;</p> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/186203/How-to-show-comments-or-add-text-using-Bootstrap-Carousel-in-ASPNet/https://www.aspforums.net:443/Threads/186203/How-to-show-comments-or-add-text-using-Bootstrap-Carousel-in-ASPNet/Fri, 20 Jan 2017 02:37:33 GMT