By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Handling Radiobuttonlist event inside Repeater Control

P: n/a
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.
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Make sure your controls are templated. There should only be one of each
available via item.findcontrol during the itemdatabound event.

"Ravi" <rs*****@hotmail.com> wrote in message
news:cc**************************@posting.google.c om...
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.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.