Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi.... all

i had created run time radio buttons on dropdown_selected changed event
and now user checked some radio buttons and unchecked some radio buttons
now on button click i need get which one is checked and unchecked i tried by using find control method but every time null reference exception coming can any one help me please please.....


thanks in advance</pre>
Posted

You need to re-create the radio buttons on the button click postback in order to track the changes made. This is because you created them at runtime on dropdown change and so during postback/reload it is missing.
 
Share this answer
 
Comments
tulasiram3975 27-Nov-10 1:16am    
ok if i recreated then i lost previous radio button id's after button click
again new id's created for every radio button all are unchecked again
so what can i do how can i find dropdown_selected index changed events radio button id's please help me i am doing from yesterday
this may help you to get the logic of how to solve your question
get value of dynamically generated[^]
 
Share this answer
 
Comments
tulasiram3975 27-Nov-10 2:17am    
sir textbox it's ok but i used radio buttons
i need find out it is cheched or not on button click

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