HiddenField Value Lost on Postback
问题 I have some JavaScript that sets the value of a HiddenField and then forces a postback. I can trace through this JavaScript and it appears to work correctly. However, when I test the value of the HiddenField from the page's Load event, it is no longer set. Searching the web, I see a lot of posts about losing HiddenField values but none of them seemed to be doing the same thing that I am. Here's my JavaScript function (modified): function EditItemItem(itemId) { document.getElementById('<%=