G
Guest
I have a C# application that builds dynamic HTML and renders it. Because it
is rendered in this way, the input controls are not server controls. I write
the entire page, which has a variable number of detail lines for an order. I
want the user to be able to change values on these detail lines and hit an
'update' button. I know how to do this in Javascript, but I'd like to be
able to inspect the controls that come back to my C# program during a
Postback. Since these are not server controls, they are not available in
Page.Controls. What is the 'proper' way to inspect these inside of the
compiled C# program? Right now I'm parsing them out through javascript, and
passing them through cookies, but there has to be a better way than this,
isn't there?
is rendered in this way, the input controls are not server controls. I write
the entire page, which has a variable number of detail lines for an order. I
want the user to be able to change values on these detail lines and hit an
'update' button. I know how to do this in Javascript, but I'd like to be
able to inspect the controls that come back to my C# program during a
Postback. Since these are not server controls, they are not available in
Page.Controls. What is the 'proper' way to inspect these inside of the
compiled C# program? Right now I'm parsing them out through javascript, and
passing them through cookies, but there has to be a better way than this,
isn't there?