Help me
-
Dear Programmers, I want to place two check boxes on a single web form. I want that when I check CheckBox1 then Checkbox2 will be shown as Unchecked and when I check CheckBox2 then CheckBox1 will be displayed as Unchecked. I tried a lot but not was unable to find a solution. Help me please. Waiting for your reply's. Thankyou.
-
Dear Programmers, I want to place two check boxes on a single web form. I want that when I check CheckBox1 then Checkbox2 will be shown as Unchecked and when I check CheckBox2 then CheckBox1 will be displayed as Unchecked. I tried a lot but not was unable to find a solution. Help me please. Waiting for your reply's. Thankyou.
Hi, you can use checkBoxlist control for that.. And in selectedindexchanged property uncheck other checkboxes. Else if you want different checkBoxes then set AutoPostback = "True". And write code in selected index changed property of both checkBoxes. Hope it will help you.
Thanks, Sun Rays To get something you must have to try once. My Articles
modified on Wednesday, January 30, 2008 5:34:33 AM
-
Dear Programmers, I want to place two check boxes on a single web form. I want that when I check CheckBox1 then Checkbox2 will be shown as Unchecked and when I check CheckBox2 then CheckBox1 will be displayed as Unchecked. I tried a lot but not was unable to find a solution. Help me please. Waiting for your reply's. Thankyou.
Zeeshan Memon wrote:
I want that when I check CheckBox1 then Checkbox2 will be shown as Unchecked and when I check CheckBox2 then CheckBox1 will be displayed as Unchecked.
Checkbox will not do that. If you want like that only, try with JavaScript. Or Are you talking about RadioButton??
[Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot
-
Dear Programmers, I want to place two check boxes on a single web form. I want that when I check CheckBox1 then Checkbox2 will be shown as Unchecked and when I check CheckBox2 then CheckBox1 will be displayed as Unchecked. I tried a lot but not was unable to find a solution. Help me please. Waiting for your reply's. Thankyou.
Use a radio button instead. Checkbox control is intended for multiple selection.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Dear Programmers, I want to place two check boxes on a single web form. I want that when I check CheckBox1 then Checkbox2 will be shown as Unchecked and when I check CheckBox2 then CheckBox1 will be displayed as Unchecked. I tried a lot but not was unable to find a solution. Help me please. Waiting for your reply's. Thankyou.
Instead what's the problem in using radio buttons ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "