ASP.Net Cases: Saving User Input to a Control Assembled from Code

Menu Expand/Collapse Menu

There may be other solutions to getting back user inputs to controls assembled in code but I could not locate any. I figured this out from ASP Classic experience. How would you do it?

The critical line of code is line 35. The Request.Form accesses the form control collection which is returned when the form is posted. Notice also that both the parameter & the drop-down list are named after the security objects SecPK -- makes aligning form controls to table fields a little easier to follow.
Code provided in screenshot for study only, hence no copy/paste.

.Net Cases