edit record

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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

Back
Top