My client has the following question.
In the below form, I am using a Collections control, the ‘Misdemenor Cause Numbers’ is a collection and the user can add one or more rows by clicking the add button. In Asp.Net web application, I normally have access to the index of the collection item, or I can tap into the Add buttons click event.
In the second screenshot below, I have two rows in the collection. If you notice, I accomplished the row number via Custom Html, the ‘Cause #1’ , ‘Cause #2’ are the row number equivalent. I achieved it through CSS, so it is not persisting in the page so could not save it to the repository. The third and fourth screenshot at the end is the custom html and the associated css for the row increment, but it will not work in this case as I am unable to save it to the repository.
Basically I want another field in each row with a sequence number of how many ever items/rows in the collection.