finding child controls of Repeater

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Neil (Neil_at_discussions.microsoft.com)
Date: 09/24/04


Date: Fri, 24 Sep 2004 03:09:02 -0700

Hi,

I have a repeater object which is bound to a dataset, the repeater has one
item template which contains dropdowns, checklist, text boxes etc.
After the repeater has rendered the user can change the values in the child
controls and add new rows to the repeater.
The user then clicks save changes and I need to update the database with the
changes. I was thinking of looping through the datatables row collection and
checking the rowstate, then performing the necessary update.
My question is how can I update the dataset after the user makes changes? I
need a way to loop through or ref the child controls of the repeater, how do
i do this?



Relevant Pages

  • Re: Repeater Control and Validation in each row
    ... the simplest would be to have a CustomValidator and use a simple server-side ... check on the new-row text boxes. ... I am using a Repeater control to display data and also allow data editing. ... I do not want to raise any validation error.. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Beginners question about binding/formatting a repeater
    ... I design one element (my text boxes, labels etc) and then create a repeater. ... Then I override the Item_DataBound event. ... fill the labels/text boxes etc with data, using database fields. ...
    (microsoft.public.dotnet.framework.aspnet)
  • UserControl with databound repeater drops values on postback
    ... I have a user control that contains a repeater that generates a list of ... check boxes. ... The checkboxes render fine, ... checked state on postback. ...
    (microsoft.public.dotnet.framework.aspnet)
  • UserControl with databound repeater drops values on postback
    ... I have a user control that contains a repeater that generates a list of ... check boxes. ... The checkboxes render fine, ... checked state on postback. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • UserControl with databound repeater drops values on postback
    ... I have a user control that contains a repeater that generates a list of ... check boxes. ... The checkboxes render fine, ... checked state on postback. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)