How do I change the label text in the footer of a repeater control?
Posted on 2008-10-03
I have a label control in the footer of a repeater that lists a number of items. The repeater has items, quantities prices and extended prices. In the ItemDataBound event, I am putting the total price of the items in a label in the footer. I have a link button that resets all quantities to zero. I loop through the repeater items and update the quantities and extended prices, but I cant get to the total price label in the footer to set the text to zero.
I have tries Page.FindControl, Controls(0).FindControl, etc, but no luck.