Read client side value from server side in VB.NEt

  • Thread starter Thread starter Joh
  • Start date Start date
J

Joh

I have a vb.net application where I have a client side html input:
<td><input name="CurrentUserStatus" type="text" id="UserStatus" /></
td>

Is there anyway I can acces the value of this control from server side
inside my vb.net code? (please note I don't want to have runat=server
for the input control)
 
Ofcourse if you perform a client side submit , you can read the value in the
request object ( request.form("CurrentUserStatus") )

If you mean without perfoming a postback at all , well even then there are
ways however this requires some scripting


hth

Michel


dotNetDave said:
Yes, of course. It will just come through as a Form value.

======================================
David McCarter [Microsoft VB.NET MVP]
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485


Joh said:
I have a vb.net application where I have a client side html input:
<td><input name="CurrentUserStatus" type="text" id="UserStatus" /></
td>

Is there anyway I can acces the value of this control from server side
inside my vb.net code? (please note I don't want to have runat=server
for the input control)
 
Ofcourse if you perform a client side submit , you can read the value in the
request object ( request.form("CurrentUserStatus") )

If you mean without perfoming a postback at all , well even then there are
ways however this requires some scripting

hth

Michel

"dotNetDave" <[email protected]> schreef in bericht

Yes, of course. It will just come through as a Form value.
======================================
David McCarter [Microsoft VB.NET MVP]
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485
"Joh" wrote:

- Visa citerad text -

Thanks for your answers. And yes, I would like to do it without a
postback. What would that scripting look like?
 
Back
Top