Click here to Skip to main content
16,019,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
if suppose my Rad Grid view footer row contains 3 check box's now if i check one check box the other 2 should not accept to check. how to implement it,
using C#


regards
Posted
Updated 2-Sep-13 4:19am
v3
Comments
syed shanu 2-Sep-13 3:55am    
hi,
Check this link,Might be usefull to you.
http://www.telerik.com/community/forums/winforms/calendar-and-datetimepicker/enable-disable-checkbox-in-radgridview.aspx
Bernhard Hiller 2-Sep-13 10:34am    
What abou RadioButton instead of CheckBox? With RadioButtons, only one in a group can be checked.
Member 10070519 3-Sep-13 1:02am    
i'm sorry, client requirement is to use check box

1 solution

JavaScript
$("checkbox").each(function()
{
   if(!this.attr("checked")==="checked")
    {
      this.attr("disable","disabled");
    }
});
 
Share this answer
 
Comments
Ron Beyer 2-Sep-13 10:24am    
Where does he say that this is PHP?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900