Wednesday, March 21, 2012

HTML and Codebehind

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?Perhaps you should tell us all what this message is in regards to.

Tip: In a newsgroup, messages are arranged in threads, each message that is
a reply being threaded together with related messages. When you post a new
message (not a reply), it appears all by itself. Like this one.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"tma" <tma@.allisconfusing.net> wrote in message
news:#EWKOzYeEHA.3732@.TK2MSFTNGP11.phx.gbl...
> 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?

No comments:

Post a Comment