Day: May 12, 2012

How to restrict the user to allow only one checkbox of each checked? (ASP.NET)

<%@ Page Language=”C#” AutoEventWireup=”true” CodeBehind=”chkbox_checked_uncheked.aspx.cs”     Inherits=”Ediable_Repeater.chkbox_checked_uncheked” %> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“> <html xmlns=”http://www.w3.org/1999/xhtml“> <head runat=”server”>     <title></title>     <script src=”Scripts/jquery-1.6.2.min.js” type=”text/javascript”></script>     <script type=”text/javascript”>         $(document).ready(function () {             $(‘#C1All’).click(function () {                 $(‘.col1 > input’).attr(“checked”, $(‘#C1All’).attr(“checked”));                 $(‘.col2 > input’).removeAttr(“checked”);                 $(‘#C2All’).removeAttr(“checked”);             });             $(‘#C2All’).click(function () {                 […]

Read more

How to restrict the user to allow only one checkbox of each checked?

i have a two columns (approve all/reject all) how to restrict the user to allow only one checkbox of each? output screen

Favorite

Read more