c# - Strange asp.net behavior when trying to find Radio buttons -


the following code works pretty loop through radio buttons in container(in case div)

foreach (radiobutton rb in divcontainer.controls.oftype<radiobutton>()) {    .... 

lets call these rb1,rb2,rb3 belong groupname a

now if put set of radio buttons(rb4,rb5,rb6) inside div , assign them different group(b), same code still loops through rb1,rb2,rb3.

is known issue?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -