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
Post a Comment