Hello, i am making a list app.
I have a ListView control on my page. and i will add the following code to the ListView dynamically in code behind.
<StackPanel Orientation="Horizontal">
<textbox />
<button Content="Save"/>
</StackPanel>
Since this will be added dynamically , i cannot give the textbox(es) in the ListView a name, that i can reference them by.
So when the user presses save for any of the textbox(es) in the ListView. How do i found out which textbox Text the user is trying to save?
Keep in mind, sometimes there might be 1 item in the ListView or 10 or 100.