AJ
AJ
CC#
Created by AJ on 11/1/2023 in #help
❔ ASP.NET Dynamic input controls
Hello! I'm currently learning ASP.NET web development, having experience with web development using the MERN stack, and I'm struggling to wrap my head around doing so much server-sided work. Specifically right now I'm trying to create a dynamic table containing input fields in the code behind such that the user can add and remove rows, and eventually submit their inputs. I've achieved the basic functionality of adding and removing rows, however I can't seem to understand how to persist the user input in these dynamically-created rows while adding and removing them. I'm entirely open to recreating this from scratch as I've likely done it terribly inefficiently. All solutions I've thought about and tried so far just seem so impractical compared to basic client-side jquery/js Any help is appreciated, thanks!
13 replies