HTML and Codebehind

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: tma (tma_at_allisconfusing.net)
Date: 08/03/04


Date: Tue, 3 Aug 2004 14:05:11 -0500

Perhaps I should provide more code. When I implemented your suggestions the
values were not posted back. Here's a larger snippet.

<form action="https://www.somesite.com/webscr" method="post">
<input type="hidden" name="amount" runat=server id="totalamount">

The codebehind totalamount.value = 80 does not appear to be passed to the
value key in the <input> statement. When I include runat=server in the form
keys, the button does not work at all.

Any suggestions?


Quantcast