I have a repeater and want to adjust the before content field if the count is greater than one. What I want to do is Change the word "Location" that I have in the before content to "Locations" when there is more than one location being pulled into the repeater.
Is this possible?
I don't think you have access to this in the ContentBefore or after but it's worth a try:
<%# DataRowView.DataView.Count <= 1 ? "Location" : "Locations" %>
Please, sign in to be able to submit a new answer.