var elementRef = document.getElementById('<%= CheckBoxList1.ClientID %>');
var inputElementArray = elementRef.getElementsByTagName('input');
for (var i = 0; i < inputElementArray.length; i++)
var inputElement = inputElementArray[i];
inputElement.checked = false;
<form id="form1" runat="server">
<asp:CheckBoxList ID="CheckBoxList1" runat="server">
<asp:ListItem Text="One" Value="1"></asp:ListItem>
<asp:ListItem Text="Two" Value="2"></asp:ListItem>
<asp:ListItem Text="Three" Value="3"></asp:ListItem>
<asp:ListItem Text="Four" Value="4"></asp:ListItem>
<asp:Button runat="server" ID="ClearButton" Text="Clear" OnClientClick="return clearCheckBoxList();" />
Happy Reading !
You may need to change the package name for your android application due to various reasons ranging from a small typo to duplicate domain name. Changing the package name ...
by: Ravi Rawal
If you are looking for dynamically adding different types of "Widgets" into your screen programatically and are also interested in placing them such that many items are v...
This blog teaches you to display line numbers in visual studio text editor.
by: Yukti Arora
This blog teaches you to switch themes in visual studio.
This blog will apply to those folks who use Photoshop for design. I will focus on the use of channels to make a perfect selection out of a very complex image. In this blo...
by: Atul Ahuja
Toast message is a way to provide some information to the user that stays on the screen for a couple of seconds. Here, we will be working on how to beautify that message ...
What kind of email newsletter would you prefer to receive from CodeAsp.Net?