NOT runat="server"

C

Christoph Boget

Where in the world can I find information on how to
process form input controls that are NOT set to run
at the server? The only examples I can find on
processing forms use the runat="server" and doing that
is a no brainer to be sure. However, I need to
dynamically generate a set of controls using Javascript
and for those, I can't set them to runat="server". And
for the life of me, I can't find examples on how to process
regular html controls. I've tried using Request.Form in
the Page_Load() method, but that won't even compile.
I know I'm missing something and I just can't find the
necessary information I need.
If someone can point me in the right direction, I'd be
ever so appreciative!

thnx,
Christoph
 
C

Curt_C [MVP]

Request.Form["name"] will work in ASP.NET....
I've used it in the past just fine.
What's the compilation error?
 
L

Lucas Tam

However, I need to
dynamically generate a set of controls using Javascript
and for those, I can't set them to runat="server". And
for the life of me, I can't find examples on how to process
regular html controls.

Just use the standard Request.Form methods. You'll need to write your own
routine to parse out the data
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top