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 use Bootstrap Toggle in ASP.Net<p>Hi <a class="username" rel="jmprateek"> jmprateek</a>,</p> <p>Refer the below sample code.</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;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js&#34;&gt;&lt;/script&gt; &lt;link type=&#34;text/css&#34; rel=&#34;stylesheet&#34; href=&#34;https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css&#34; /&gt; &lt;style type=&#34;text/css&#34;&gt; .toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 20px; width: 110px; } .toggle.ios .toggle-handle { border-radius: 20px; width: 40px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;form id=&#34;form1&#34; runat=&#34;server&#34;&gt; &lt;div class=&#34;box-footer&#34;&gt; &lt;div style=&#34;float: right&#34;&gt; &lt;input type=&#34;checkbox&#34; id=&#34;msgtoggle&#34; runat=&#34;server&#34; checked data-toggle=&#34;toggle&#34; data-style=&#34;ios&#34; data-on=&#34;&lt;i class=&#39;fa fa-paper-plane-o&#39;/&gt;Send&#34; data-onstyle=&#34;success&#34; data-off=&#34;&lt;i class=&#39;fa fa-ban&#39;/&gt;Don&#39;t send&#34; data-offstyle=&#34;danger&#34; /&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>https://www.aspforums.net:443/Threads/219888/How-to-use-Bootstrap-Toggle-in-ASPNet/https://www.aspforums.net:443/Threads/219888/How-to-use-Bootstrap-Toggle-in-ASPNet/Mon, 27 Mar 2017 02:51:03 GMT