Confirm form control type

J

jason

Is there a way to determine the form control type in asp...in other words,
to confirm that a control is a eg checkbox when looping the form controls?
 
B

Bob Barrows

jason said:
Is there a way to determine the form control type in asp...in other
words, to confirm that a control is a eg checkbox when looping the
form controls?
Not without some kind of naming convention. I usually use a"txt" preface on
my textbox names, etc.
Bob Barrows
 
J

jason

Thats a good idea - prefacing the name with the control type - will do it
this way. I suspect that .NET will take care of this shortfall...
 
J

jason

Got it - I'll do it this way - Aaron also suggested this. I am guessing
that .NET would probably overcome this limitation...
 
R

Ray at

It doesn't matter if you're using .net or not. The browser will still post
the same data. That's not to say that it won't trick developers into
thinking it's handling it though. :]

Ray at work
 

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,083
Messages
2,570,589
Members
47,211
Latest member
JaydenBail

Latest Threads

Top