Hi every one,
i need code for, when i check checkbox , automatically radiobutton1 checked.
i,e i have one checkbox and 4 radio buttons, if i check on checkbox automatically check the radio button1, and if i uncheck the check box automatically uncheck radio button1,
this is my requirement, pls tell me the procedu to fullfill this task.
thanks in advance.
Check radio button1 when checkbox is checked?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 28, 2013, 3:00 AM EST
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace WebApplication15
{
public partial class WebForm3 : System.Web.UI.Page
{
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
RadioButton1.Checked = false;
if (CheckBox1.Checked==true)
{
RadioButton1.Checked=true;
}
}
}
}
Prabhakar Reddy101 reputationPosted Feb 28, 2013, 6:53 PM EST