AJ
AJ
CC#
Created by AJ on 11/1/2023 in #help
❔ ASP.NET Dynamic input controls
So i got it to work... very jankily... i noticed on postback that the Request will always contain form input values even from the dynamically added controls so I grab all of those (for loop adding them to a list with Request.Form.Get()), and manually set the value of each input with
.FindControl(string id)
.FindControl(string id)
13 replies
CC#
Created by AJ on 11/1/2023 in #help
❔ ASP.NET Dynamic input controls
the more i work with this the more I feel that ASP web forms are NOT DE WAY
13 replies
CC#
Created by AJ on 11/1/2023 in #help
❔ ASP.NET Dynamic input controls
LOL no problem, thank you
13 replies
CC#
Created by AJ on 11/1/2023 in #help
❔ ASP.NET Dynamic input controls
Just to provide a little more context, this small project is for an internship and they REALLY haven't taught me much at all, so far all I've really done is create a few basic pages / forms with communication to a MSSQL db and some session storage stuff, only really working with the .aspx, .aspx.cs, and some .cs files
13 replies
CC#
Created by AJ on 11/1/2023 in #help
❔ ASP.NET Dynamic input controls
Sorry, I'm not really understanding, and even if I did I'm not sure where that code would go 😅 Might be important to note that I'm working with ASP Web Forms
13 replies