Good Day!! Thank you for the time and sincere concern to answer my question. But as a beginner and with a specific method of understanding a specific new idea "I am a learner that show me and I will understand it far more better." If it is just ok with you, could I ask for an example? I coding perhaps. :-D Please give me example: 1.How to Call WebForm using DropDownList. 2.How to Enable/Disable RadioButtonList in a certain senario. (More Details) 2.1.You are in a current WebForm (Set As Start Page) default 2.2.A certain RadioButtonList with (yes/no) choices will enable/disable a certain RadioButtonList in another WebForm that is part of the project. 2.3.Select the RadioButtonList First then click the DropDownList to go to the next page. 2.4.And when the 2nd WebForm is been Loaded some RadioButtonList is enable, some Disable. The Enable RadioButtonList is been enable because on the 1st WebForm RadioButtonList enable it. Hope I link the connection between the First Question to the Second Question. Thank you very much and God Bless to your Career!!! ;)
HappyKim
Posts
-
Linking of 2 to 3 WebForms -
Linking of 2 to 3 WebFormsHow to Link 2 to 3 WebForms? How to Call WebForm using DropDownList? How to Enable/Disable RadioButtonList in a certain senario: 1. You are in a current WebForm (Set As Start Page) default. 2. A certain RadioButtonList with (yes/no) choices will enable/disable a certain RadioButtonList in another WebForm that is part of the project. Thank you in advance to those willing to help!!! God Bless and More Power to this site!!! Chaoi!!! HappyKim :((
-
Enable/Disable of texboxGood Day!!! Wonderful.... It works!!! The textbox will enable/disable as I expected!Thank you very much for helping... (Running State)But I jst want to ask if the AutoPostBack will result to refresh effect? I mean each time I change my option to the RadioButtonList the whole web application will download again and will display the new changes made by the user. One more thing!!! How about the coding of CheckBoxList with 4 to 5 choices with corresponding textbox that will also enable each textbox if the choices are being checked. Here is my coding but it wont work as I expected: private void checkboxlist1_SelectedIndexChanged(object sender, System.EventArgs e) { if(checkboxlist1.SelectedIndex == 0) { textbox1.Enabled = true; } if(checkboxlist1.SelectedIndex == 1) { textbox2.Enabled = true; } if(checkboxlist1.SelectedIndex == 2) { textbox3.Enabled = true; } if(checkboxlist1.SelectedIndex == 3) { textbox4.Enabled = true; } } If I checked the first choice it will enable the textbox1 ang when I checked also the second choice the textbox2 will not enable, so on and so on to the other choices. The program will allow me to checked all the choices but will not enable all the corresponding texbox of each choices. Hope you could help me figure out whats wrong with my program.... Thanks and God Bless!!! :-D :doh:
-
Enable/Disable of texboxThanks... you understand me very well... But could we be more specific: I am using RadioButtonList & textbox. My code is this: private void RadioButtonList1_SelectedIndexChanged(object sender, System.EventArgs e) { if (RadioButtonList1.SelectedIndex ==0) { RadioButtonList2.Enabled=true ; textbox1.Enabled = true; } else { RadioButtonList2.Enabled=false ; textbox1.Enabled = false; } } I am using ASP.NET Web Application, Visual C# Project. The lunching of Internet Explorer is successful without error in build solution and start. My only problem is my code don't do anything. My code will not enable or disable any RadioButtonList or textbox. By the way my default settings of properties in "RadioButtonList2" in my code is disable and I want my code to enable it once the selectedindex is equal to 0 which is the first option of the user. Thanks and more power to you and to this website!!! chiao!!! :)
-
Enable/Disable of texboxI need to know if my code is right to enable or disable any object in C#.net I use if condition.. is there other way to do it? :(( private void optBCLA01001_SelectedIndexChanged(object sender, System.EventArgs e) { if(optBCLA01001.SelectedIndex == 0) { optBCLA01006.Enabled = true; } }