Handling Radiobuttonlist event inside Repeater Control

  • Thread starter Thread starter Ravi
  • Start date Start date
R

Ravi

Hi,

I have a radio button list and a dropdownlist inside a repeater
control.

Want to hide or display the dropdownlist based on selection in
radiobuttonlist.

I can add the selectedindexchanged eventhandler for radiobuttonlist in
itemdatabound,but cannot figure out which items dropdownlist in
repeater control I should hide, when i hit the selectedindexchanged
event handler.

That is if i have 4 records bound to repeater control, i cannot figure
out which records dropdownlist i should hide?.

Can somebody help me on this?. or is there any work around for the
problem, like using java script?

Ravi.
 
Make sure your controls are templated. There should only be one of each
available via item.findcontrol during the itemdatabound event.
 
Back
Top