Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I am developing an application where i need to keep RadioButton in Each row of only one column,but problem is in the radion button i have to keep 3 options like YES,NO,NOTHING.It has to do on the runtime of the application??
PLZ Help me for this article???
Posted

1 solution

hey dude you want to add radio button dynamically.Do one thing on go to which event you want to add radiobuttons and write this code

RadioButton rd1=new RadioButton();
rd1.text="First";
this.controls.add(rd1);

RadioButton rd2=new RadioButton();
rd1.text="Second";
this.controls.add(rd2);

RadioButton rd3=new RadioButton();
rd1.text="Third";
this.controls.add(rd3);

DO it and give me response on my e-mail

seoamitk@gmail.com
 
Share this answer
 

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