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.Get (Retrieve) CheckBox value using AngularJS in ASP.Net MVC<p>Hi&nbsp;mahesh213,</p> <p>Inorder to get the value set the&nbsp;ng-model value for CheckBox on load.</p> <p>Check this example. Now please take its reference and correct your code.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <div class="demo_block"> <pre class="brush: html">&lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&gt; &lt;head&gt; &lt;title&gt;Index&lt;/title&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; var app = angular.module(&#39;MyApp&#39;, []); app.controller(&#39;MyController&#39;, function ($scope) { $scope.Active = true; // Setting the CheckBox Checked. $scope.Save = function () { var LeaveType = { Active: $scope.Active ? 1 : 0 }; alert(LeaveType.Active); } }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div ng-app=&#34;MyApp&#34; ng-controller=&#34;MyController&#34;&gt; &lt;input type=&#34;checkbox&#34; ng-model=&#34;Active&#34; /&gt; &lt;input type=&#34;button&#34; ng-click=&#34;Save()&#34; value=&#34;Save&#34; /&gt; &nbsp; &nbsp; &lt;/div&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/949887/Get-Retrieve-CheckBox-value-using-AngularJS-in-ASPNet-MVC/https://www.aspforums.net:443/Threads/949887/Get-Retrieve-CheckBox-value-using-AngularJS-in-ASPNet-MVC/Mon, 29 Jul 2019 04:49:56 GMT