Handling Radiobuttonlist event inside Repeater Control

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.
 
R

Rick Spiewak

Make sure your controls are templated. There should only be one of each
available via item.findcontrol during the itemdatabound event.
 
Joined
Aug 18, 2006
Messages
1
Reaction score
0
hi

I am working on same problem but I am facing problem in adding radiobuttinlist to the repeater to repeater

please help me with this!!
thanks

Jagdish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top