edit record

G

Guest

I have a record in edit the mode inside a repeater (single record), and a
update button outside the repeater when i click on the button to update the
database i can't access the dropdown list inside the repeater..

I can't use e.FindControl("ddl") because button2_click have System.EventArgs
not RepeaterItemEventArgs

Any suggestion?
 
S

Scott Allen

Hi Huzz:

I'm not sure how e.FindControl compiles because System.EventArgs
doesn't have a FindControl method. Perhaps you could post some code?

If you can keep track of the RepeaterItem (or the index of the
RepeaterItem) you are currently editing, you could call FindControl
there.
 

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,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top